Retired U.S. Marine Corps General James Mattis testifies before a Senate Armed Services Committee hearing on his nomination to serve as defense secretary in Washington, U.S. January 12, 2017. REUTERS/Jonathan Ernst

WASHINGTON (Reuters) - The U.S. Senate Armed Services Committee voted overwhelmingly on Wednesday to recommend President-elect Donald Trump’s pick for Secretary of Defense, retired Marine General James Mattis.

The committee voted 26-1 to back Mattis’ nomination when it is received by the full Senate from Trump after he is sworn in as president. As a result, Mattis’ nomination will be sent directly to the Senate for a vote without referral to the committee.

The identity of the senator who voted against Mattis was not immediately available.

Congress cleared the way for Mattis’ quick confirmation last week by backing a waiver that would allow him to lead the Pentagon despite retiring from active duty as a Marine general only in 2013.

The 66-year-old Mattis, who is highly respected by many fellow Marines, retired 3-1/2 years ago after more than four decades of military service. The 1947 National Security Act requires a seven-year gap between active duty military service and the Cabinet position.

Trump’s fellow Republicans in Congress and Democrats have both heaped praise on Mattis since his nomination was announced.