Follow CBSDFW.COM: Facebook | Twitter

President Donald Trump has signed legislation that clears the way for his defense secretary pick — retired Marine Gen. James Mattis — to run the Pentagon, if confirmed by the Senate.

A vote on Mattis is expected Friday.

There’s a law that bars former service members who’ve been out of uniform for less than seven years from holding the top Pentagon job. The restriction is meant to preserve civilian control of the military.

The measure signed by Trump soon after his took office grants Mattis a one-time exception.

Congress last allowed an exception to the law in 1950 for George Marshall, a former five-star Army general.

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)