The U.S. Senate confirmed the first two members of President Donald Trump’s cabinet on Friday, voting overwhelmingly to approve two retired four-star Marine generals as his secretaries of defense and homeland security hours after Trump was sworn in as commander-in-chief.

The Senate voted 98-1 to confirm James Mattis to lead the Pentagon, and 88-11 to confirm John Kelly for homeland security, a sprawling department responsible for everything from domestic antiterrorism to border security and disaster prevention.

The Senate also voted 89-8 to clear the way for a vote on Monday on another member of Trump’s national security team, Republican U.S. Representative Mike Pompeo, his nominee to be director of the Central Intelligence Agency.

Trump’s fellow Republicans, who hold a 52-seat majority in the 100-member Senate, have been sparring with Democrats over confirmations of nominees for cabinet posts and other senior positions.