WASHINGTON (NEWSnet/AP) — The U.S. Senate has confirmed Jacob Lew as ambassador to Israel, filling the key diplomatic post as the country is fighting a war with Hamas.

Lew, a treasury secretary under President Barack Obama, was confirmed 53-43.

He has promised to stand side by side with Israel's leaders as they respond to the militant group’s surprise attack on Oct. 7, telling senators in his confirmation hearing mid-October that “at this moment, there is no greater mission than to be asked to strengthen the ties between the United States and the state of Israel.”

President Joe Biden nominated Lew, who goes by Jack, to fill the post left vacant when Tom Nides left in July.

Democrats say Lew’s wealth of government experience makes him the right person to fill the post at a a critical moment in the two countries’ relationship.

U.S. National Security Council spokesman John Kirby said after Lew's confirmation that the administration is eager for him “to get on the ground and start leading our efforts to support Israel and their fight against Hamas, but also to help us integrate and continue to lead the effort to get humanitarian assistance to the people of Gaza.”

Republicans criticized Lew for his role in the Obama White House when it negotiated the Iran nuclear agreement in 2015, among other foreign policy moves. The deal with Iran, chief sponsor of Hamas, later was scuttled by then-President Donald Trump.

“This is the wrong person at the wrong time in the wrong place,” said Idaho Sen. Jim Risch, the top Republican on the Senate Foreign Relations Committee, prior to the vote. “The last thing we need is somebody who is very contrary to our view about how Iran should be handled.”

Senate Foreign Relations Committee Chairman Ben Cardin said Lew has won praise from Israeli leaders and has the gravitas to “stand shoulder to shoulder with Israel” as the United States collaborates with the country.

Copyright 2023 NEWSnet and The Associated Press. All rights reserved.