WASHINGTON, July 23 (Reuters) - The U.S. Senate on Tuesday confirmed Army Secretary Mark Esper to be secretary of defense, ending the longest period by far that the Pentagon has been without a permanent top official.
As voting continued, the Senate overwhelmingly backed Esper, a former lobbyist for weapons maker Raytheon Co., to be President Donald Trump's second confirmed leader of the Pentagon.
Esper, 55, received strong bipartisan support despite some sharp questioning during his confirmation hearing by Democratic Senator Elizabeth Warren about his ties to Raytheon and his refusal to extend an ethics commitment he signed in 2017 to avoid decisions involving the company.
Warren, a 2020 presidential hopeful, was the only member of the Senate Armed Services Committee to voice opposition to Esper's confirmation during the hearing.
Raytheon is the third-largest U.S. defense contractor.
There has been no confirmed defense secretary since Jim Mattis resigned in December over policy differences with Trump. Many members of Congress from both parties have urged the Republican president to act urgently to fill the powerful position.
Senate Majority Leader Mitch McConnell called on members to support Esper as he opened the Senate on Tuesday morning.
"The nominee is beyond qualified. His record of public service is beyond impressive. His commitment to serving our service members if beyond obvious. And the need for a Senate-confirmed secretary of defense is beyond urgent," McConnell said.
An Army veteran, Esper had served as a congressional aide and a Pentagon official under Republican President George W. Bush, before working for Raytheon. He has been Army secretary since November 2017.
Trump's previous pick to be secretary of defense, Patrick Shanahan, withdrew from consideration on June 18 after reports emerged of domestic violence in his family.
Reporting by Patricia Zengerle; Editing by Dan Grebler