The Senate on Tuesday easily confirmed President Trump's pick for the Pentagon’s No. 2 civilian official.

Senators voted 92-7 for Patrick Shanahan to be the next deputy Defense secretary, the person who runs the day-to-day operations of the Defense Department. Only a simple majority was needed to approve his nomination.

The seven votes against Shanahan came from Democratic Sens. Cory Booker (N.J.), Tammy Duckworth (Ill.), Elizabeth Warren Elizabeth Ann WarrenWoman to undecided Biden: 'Just say yes' to 2020 bid Raising taxes on the wealthy is 'extremely popular,' says Dem pollster 64 percent say Democratic Party supports socialism, says poll MORE (Mass.), Ed Markey Edward (Ed) John MarkeySenate Dems seek to turn tables on GOP in climate change fight Ocasio-Cortez responds to Ivanka Trump: 'I actually worked for tips and hourly wages' Overnight Energy: McConnell plans Green New Deal vote before August recess | EPA official grilled over enforcement numbers | Green group challenges Trump over Utah pipelines MORE (Mass.), Kirsten Gillibrand Kirsten Elizabeth GillibrandWoman to undecided Biden: 'Just say yes' to 2020 bid Hillary Clinton says she 'can't imagine' running for president again Kamala Harris supports decriminalizing sex work MORE (N.Y.) and Kamala Harris (Calif.), as well as Sen. Bernie Sanders Bernard (Bernie) SandersSenate Dems seek to turn tables on GOP in climate change fight Bernie Sanders Town Hall finishes third in cable news race, draws 1.4 million viewers Woman to undecided Biden: 'Just say yes' to 2020 bid MORE (I-Vt.).

Lawmakers declined to drag out debate time Tuesday, with only Senate Armed Services Committee ranking member Jack Reed John (Jack) Francis ReedTop general dodges on justification for Trump emergency declaration Senate Dems introduce bill demanding report on Khashoggi killing Papering over climate change impacts is indefensible MORE (D-R.I.) speaking on the former Boeing executive prior to the vote.

ADVERTISEMENT

“The department currently faces challenges on multiple fronts. For more than 16 years our military has been consumed by two prolonged wars against violent extremist groups like ISIS” and the rise of near peer competitors in Russia and China, Reed said.

“If Mr. Shanahan is confirmed, he will need to contend with all these challenges,” Reed added. “Mr. Shanahan has developed a strong reputation in his tenure at Boeing as someone capable of taking on challenges, fixing problems and turning them into successes. I believe he is fully qualified for the job.”

Shanahan’s confirmation marks a smooth step in an otherwise rocky path to confirmation.

During Shanahan's confirmation hearing, Senate Armed Services Chairman John McCain (R-Ariz.) threatened to block the nomination over what he deemed were unsatisfactory answers on how to respond to Russian aggression in Ukraine and the Intermediate-Range Nuclear Forces (INF) Treaty.

“Not a good beginning. Not a good beginning. Do not do that again, Mr. Shanahan, or I will not take your name up for a vote before this committee,” McCain warned.

After the hearing, Shanahan resubmitted his written answers, noting that he backed arming the Ukrainians. He also said the U.S. should be prepared to withdraw from the INF Treaty if Russia doesn't come back into compliance.

Then on Friday, McCain tried to clear Shanahan’s nomination and then set up a final vote in the evening, but was blocked both times by Senate Minority Leader Charles Schumer Charles (Chuck) Ellis SchumerBrady gun control group gets rebranding Brennan fires back at 'selfish' Trump over Harry Reid criticism Trump rips Harry Reid for 'failed career' after ex-Dem leader slams him in interview MORE (D-N.Y.).

Shanahan, whom Trump nominated in March, now replaces Bob Work. Work had stayed on in the role from the Obama administration until his successor was in place, and his last day at the Pentagon was Friday.