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 WarrenBiden's fiscal program: What is the likely market impact? Warren, Schumer introduce plan for next president to cancel ,000 in student debt The Hill's 12:30 Report - Presented by Facebook - Don't expect a government check anytime soon MORE (Mass.), Ed Markey Edward (Ed) John MarkeySchumer: 'Nothing is off the table' if GOP moves forward with Ginsburg replacement Democrats see fundraising spike following Ginsburg death Democratic senator calls for eliminating filibuster, expanding Supreme Court if GOP fills vacancy MORE (Mass.), Kirsten Gillibrand Kirsten GillibrandSunday shows preview: Justice Ginsburg dies, sparking partisan battle over vacancy before election Suburban moms are going to decide the 2020 election Jon Stewart urges Congress to help veterans exposed to burn pits MORE (N.Y.) and Kamala Harris (Calif.), as well as Sen. Bernie Sanders Bernie SandersNYT editorial board remembers Ginsburg: She 'will forever have two legacies' Two GOP governors urge Republicans to hold off on Supreme Court nominee Sanders knocks McConnell: He's going against Ginsburg's 'dying wishes' MORE (I-Vt.).

Lawmakers declined to drag out debate time Tuesday, with only Senate Armed Services Committee ranking member Jack Reed John (Jack) Francis ReedWhen 'Buy American' and common sense collide Hillicon Valley: Russia 'amplifying' concerns around mail-in voting to undermine election | Facebook and Twitter take steps to limit Trump remarks on voting | Facebook to block political ads ahead of election Top Democrats press Trump to sanction Russian individuals over 2020 election interference efforts 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 Chuck SchumerVideo of Lindsey Graham arguing against nominating a Supreme Court justice in an election year goes viral Graham signals support for confirming a Supreme Court nominee this year Pelosi orders Capitol flags at half-staff to honor Ginsburg 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.