“Bibi, King of Israel!”That is a shout from his fervent supporters that might have given pause to King David, let alone King Solomon. But Benjamin Netanyahu, Israel’s longest-serving prime minister, has finally lost his job, unable to cobble together a final majority in the Knesset after four elections in the last two years.The government that has now replaced him is fragile, however. Little holds it together except a desire to get Mr. Netanyahu out of office, where he will no longer be immune from punishment, if convicted, over charges of corruption.But Mr. Netanyahu still appears to rule Israel’s largest party, Likud, and given Israel’s riven politics, his fall may only be a sort of sabbatical.Whatever the criticism of his actions and political cynicism, Mr. Netanyahu’s career represents an extraordinary accomplishment for a man who grew up in the shadow of a difficult and demanding father and a hero brother, killed at the age of 30 in command of one of Israel’s most storied military ventures, Operation Entebbe. The 1976 operation rescued hostages held at Entebbe Airport in Uganda.Both brothers served in the military’s elite commando unit, Sayeret Matkal. But Bibi survived to put a more lasting stamp on the young state through his political and economic policies, his toughness toward rivals. He has an instinctive sense of what drives Israelis — the search for security in one of the most unstable regions of the world, a Jewish state built on the remnants the Nazis left behind, in the midst of an Arab and Iranian sea.Mr. Netanyahu, right, during a training exercise as a member of the Israeli Army’s Sayeret Matkal commando unit.Israeli Government Press OfficeIsraeli troops patrol fields around a hijacked Sabena aircraft in Tel Aviv in 1972. Mr. Netanyahu’s commando unit, led by Ehud Barak, another future prime minister, rescued the passengers from hijackers.Associated PressMr. Netanyahu with his daughter Noa in 1980.Israeli Government Press OfficeMr. Netanyahu’s path to leadership was not an obvious one. Born in Israel, he grew up partly in the United States, where his father, a deeply conservative scholar of Judaic history, was teaching.He returned to Israel after high school, fluent in English, to make a distinguished career as a commando in Sayaret Matkal, where he rose to captain and was wounded several times.He then returned to the United States, using the more Anglicized name Ben Nitay (later changed to Benjamin Ben Nitai) to get degrees in architecture and business management. By 1978, he was already appearing on American television, where his English made him an ideal guest to discuss Israel.He found his way into diplomacy and politics in the early 1980s, when he was appointed deputy chief of mission to the Israeli Embassy in Washington. He then served as ambassador to the United Nations before returning to Israel to enter politics in earnest.He joined the Likud in 1988 and was elected to Parliament.Mr. Netanyahu, accompanied by Government Secretary Elyakim Rubinstein, on a flight from New York to Washington in 1989, when Mr. Netanyahu served as deputy foreign minister.Israeli Government Press OfficeRight-wing activists pasting campaign posters for Mr. Netanyahu over campaign posters for Prime Minister Shimon Peres in May 1996, before the election that would bring Mr. Netanyahu to power.David Silverman/ReutersBenjamin and Sara Netanyahu in Jerusalem on election day in 1996.Agence France-Presse — Getty ImagesBy 1993, he was the leader of Likud and was a strong critic of Prime Minister Yitzhak Rabin of the Labor party and his willingness to give up territory to reach peace with the Palestinians in the Oslo accords. After Mr. Rabin was assassinated in 1995, Mr. Netanyahu was criticized for language approaching incitement, a charge he said he found deeply wounding.But he defeated Washington’s favorite candidate, Shimon Peres, in the 1996 elections by pushing the theme of security in the midst of a badly managed conflict with Lebanon and a series of terrorist bombings by Palestinian groups Hamas and Islamic Jihad. He became the youngest prime minister in Israeli history and the first to be born in the independent state.That same year, 1996, Mr. Netanyahu represented Israel for the first time in summit meetings organized by President Clinton, who was eager to build on Oslo to create a more lasting peace.Then and later, in the 1998 Wye River summit, Mr. Netanyahu proved a difficult partner. He was willing to appeal to American Jews and Israel supporters in Congress to heighten political pressure on Mr. Clinton not to press Israel to go farther than he judged wise.His relations with the Palestinian leader, Yasir Arafat, were always tense, and the two never came to trust one another enough to reach the peace that Mr. Clinton thought was within grasp.Vice President Al Gore watching as Yasir Arafat, King Hussein of Jordan, President Clinton and Mr. Netanyahu leave the Oval Office after a Middle East summit meeting in 1996.Paul Hosefros/The New York TimesThe Israeli and Palestinian leaders failed to resolve any of their differences during the two-day summit.Doug Mills/Associated PressSurrounded by security personnel, Mr. Netanyahu, with his wife Sara and son Avner, spent a holiday at the beach in Caesarea in August 1997.Shaul Golan/Agence France-Presse — Getty ImagesWhile Mr. Netanyahu did much to reform Israel’s economy, charges of corruption, both large and petty, surrounded him and hurt his popularity.After the failure of his Labor Party successor, Ehud Barak, to reach peace with the Palestinians at long meetings at Camp David and again, just before Mr. Clinton left office, Mr. Netanyahu returned to politics. But he lost out to Ariel Sharon, then went on to serve in his cabinet. After a period in opposition, Mr. Netanyahu became prime minister again in 2009 and has remained in office since.But his relations with American presidents continued to be fraught, and he and President Obama developed a deep mutual disdain.Mr. Obama pushed too hard too early to try to get Israel to stop settlement building in the occupied West Bank, while Mr. Netanyahu believed that Mr. Obama was putting Israel at an existential risk by trying to do a deal with Iran to curb its nuclear program.While Iran denied it was aiming to develop nuclear weapons, Mr. Netanyahu compared the threat of Iran to Israel and the Jews to the late 1930s in Europe, when Hitler took power.He tried to defeat the deal in every setting, from the United Nations, where he famously held up a cartoon bomb with a thick red line representing Iranian uranium enrichment, to the U.S. Congress itself, where he remained very popular, especially among Republicans.During his second tenure as prime minister, Mr. Netanyahu had an icy relationship with President Obama.Stephen Crowley/The New York TimesThe Iron Dome defense system being used to intercept incoming missiles fired from Gaza by Hamas militants in 2012.Tsafrir Abayov/Associated PressMr. Netanyahu, famous for his use of visual aids, displaying his red line for Iran’s nuclear program at the United Nations in 2012.Chang W. Lee/The New York TimesMr. Netanyahu also dealt with the aftermath of Mr. Sharon’s decision to pull Israeli troops and settlers out of the Gaza Strip, a step he opposed. Mr. Sharon dumped the keys to Gaza in the street, but they were picked up by the more radical Hamas, which seized control of the Palestinian territory from the more moderate Fatah faction led by Mr. Arafat’s successor, Mahmoud Abbas.Under Mr. Netanyahu, Israel made regular raids and airstrikes to try to stop rockets from Gaza hitting southern Israel, prompting criticism about the deaths of Palestinian civilians in a place many compared to an open-air prison, largely sealed off from the world by Israel and Egypt.But Mr. Netanyahu has refrained from any comprehensive re-invasion of Gaza and has had quiet talks through Egyptian mediators with Hamas to try to keep Gaza from imploding and dragging Israel into a larger war, especially another one with the Iranian-armed Hezbollah militia in southern Lebanon.In the occupied West Bank, however, Israel continued to build a separation barrier between the Palestinians and ever-expanding settlements beyond the so-called Green Line, which delineated Israel’s boundaries under the 1949 armistice until the 1967 Arab-Israeli war..css-1xzcza9{list-style-type:disc;padding-inline-start:1em;}.css-3btd0c{font-family:nyt-franklin,helvetica,arial,sans-serif;font-size:1rem;line-height:1.375rem;color:#333;margin-bottom:0.78125rem;}@media (min-width:740px){.css-3btd0c{font-size:1.0625rem;line-height:1.5rem;margin-bottom:0.9375rem;}}.css-3btd0c strong{font-weight:600;}.css-3btd0c em{font-style:italic;}.css-w739ur{margin:0 auto 5px;font-family:nyt-franklin,helvetica,arial,sans-serif;font-weight:700;font-size:1.125rem;line-height:1.3125rem;color:#121212;}#NYT_BELOW_MAIN_CONTENT_REGION .css-w739ur{font-family:nyt-cheltenham,georgia,’times new roman’,times,serif;font-weight:700;font-size:1.375rem;line-height:1.625rem;}@media (min-width:740px){#NYT_BELOW_MAIN_CONTENT_REGION .css-w739ur{font-size:1.6875rem;line-height:1.875rem;}}@media (min-width:740px){.css-w739ur{font-size:1.25rem;line-height:1.4375rem;}}.css-9s9ecg{margin-bottom:15px;}.css-16ed7iq{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding:10px 0;background-color:white;}.css-pmm6ed{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.css-pmm6ed > :not(:first-child){margin-left:5px;}.css-5gimkt{font-family:nyt-franklin,helvetica,arial,sans-serif;font-size:0.8125rem;font-weight:700;-webkit-letter-spacing:0.03em;-moz-letter-spacing:0.03em;-ms-letter-spacing:0.03em;letter-spacing:0.03em;text-transform:uppercase;color:#333;}.css-5gimkt:after{content:’Collapse’;}.css-rdoyk0{-webkit-transition:all 0.5s ease;transition:all 0.5s ease;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.css-eb027h{max-height:5000px;-webkit-transition:max-height 0.5s ease;transition:max-height 0.5s ease;}.css-6mllg9{-webkit-transition:all 0.5s ease;transition:all 0.5s ease;position:relative;opacity:0;}.css-6mllg9:before{content:”;background-image:linear-gradient(180deg,transparent,#ffffff);background-image:-webkit-linear-gradient(270deg,rgba(255,255,255,0),#ffffff);height:80px;width:100%;position:absolute;bottom:0px;pointer-events:none;}.css-uf1ume{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}.css-wxi1cx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end;}.css-12vbvwq{background-color:white;border:1px solid #e2e2e2;width:calc(100% – 40px);max-width:600px;margin:1.5rem auto 1.9rem;padding:15px;box-sizing:border-box;}@media (min-width:740px){.css-12vbvwq{padding:20px;width:100%;}}.css-12vbvwq:focus{outline:1px solid #e2e2e2;}#NYT_BELOW_MAIN_CONTENT_REGION .css-12vbvwq{border:none;padding:10px 0 0;border-top:2px solid #121212;}.css-12vbvwq[data-truncated] .css-rdoyk0{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}.css-12vbvwq[data-truncated] .css-eb027h{max-height:300px;overflow:hidden;-webkit-transition:none;transition:none;}.css-12vbvwq[data-truncated] .css-5gimkt:after{content:’See more’;}.css-12vbvwq[data-truncated] .css-6mllg9{opacity:1;}.css-qjk116{margin:0 auto;overflow:hidden;}.css-qjk116 strong{font-weight:700;}.css-qjk116 em{font-style:italic;}.css-qjk116 a{color:#326891;-webkit-text-decoration:underline;text-decoration:underline;text-underline-offset:1px;-webkit-text-decoration-thickness:1px;text-decoration-thickness:1px;-webkit-text-decoration-color:#326891;text-decoration-color:#326891;}.css-qjk116 a:visited{color:#326891;-webkit-text-decoration-color:#326891;text-decoration-color:#326891;}.css-qjk116 a:hover{-webkit-text-decoration:none;text-decoration:none;}Mr. Netanyahu increasingly depended on political support from Israelis who supported the settlement expansion and their eventual annexation, which he threatened but never carried out.At the same time, he has been making inroads with other Sunni Arab nations despite the continuing decline in relations with the Palestinians, pushing Israel’s solidarity with them against Iran. One of his great accomplishments, working with President Trump, were the Abraham Accords, which opened normal diplomatic relations with the United Arab Emirates, Bahrain, Sudan and Morocco.Those accords survived the most recent exchange of fire last month with Hamas in Gaza, an 11-day clash that seemed, for now, to put the Palestinian issue back on the table. But even that conflict did not save Mr. Netanyahu.An Israeli tank near the town of Sderot at the border with Gaza during the seven-week war with Hamas in 2014.Sergey Ponomarev for The New York TimesMr. Netanyahu at the Knesset, Israel’s Parliament.Lior Mizrahi/Getty ImagesMr. Netanyahu visiting the border fence between Israel and Jordan in 2016.Pool photo by Marc Israel SellemSome say that Mr. Netanyahu has sought his whole life to grow out of shadow of his brother and to make his own mark on Israeli history. There are streets all over Israel named after Yonatan Netanyahu.Only when Mr. Netanyahu’s father, hawkish and dominating, died in 2012 at the age of 102, Israelis said the prime minister could feel liberated enough to try to make peace with the Palestinians.But that has been a hope long deferred, as previous efforts at peace have proven hollow. Both the Israelis and Palestinians have pulled back from the deeply difficult compromises, both territorial and religious, that would be required for a lasting settlement of the unfinished war of 1948-49.Mr. Netanyahu, with his father, Benzion Netanyahu, visiting the grave of his brother Yoni at Mount Herzl in 2009 in Jerusalem. Yoni Netanyahu was killed during military operations in Uganda in July 1976.Amos Ben Gershom/Government Press OfficeHar Homa, a Jewish settlement in East Jerusalem, has more than 25,000 residents.Tomas Munita for The New York TimesMr. Netanyahu used one of the most prominent platforms in the world, the United States Congress, to warn against what he called a “bad deal” being negotiated with Iran to freeze its nuclear program in 2015.Doug Mills/The New York TimesMr. Netanyahu was an early supporter of Mr. Trump and his presidency was a triumph for the Israeli leader. Having the support of an American president is crucial for Israelis and Mr. Netanyahu campaigned on his strong relationship with Mr. Trump.Mr. Trump pulled the United States out of the Iran deal and, in an obvious effort to help Mr. Netanyahu in this latest campaign, moved the American Embassy from Tel Aviv to Jerusalem and recognized Israeli sovereignty over the Golan Heights, captured from Syria in the 1967 war.But Mr. Trump’s defeat was a blow to Mr. Netanyahu. President Biden is trying to restore the Iran nuclear deal over fierce Israeli objections, intervened to press Mr. Netanyahu to bring an end to the latest Gaza clash and has repeated his support for a negotiated, two-state solution to the Palestinian issue.After President Trump’s election in 2016, Mr. Netanyahu found an ally in the White House.Stephen Crowley/The New York TimesProtesters seen through a banner showing Mr. Netanyahu in 2018.Oded Balilty/Associated PressMr. Netanyahu visiting a market in Jerusalem in 2019 during his campaign for a fifth term as prime minister.Dan Balilty for The New York TimesMr. Netanyahu remained in power so long not because Israelis think he is the nicest or cleanest man in the kingdom, but because they believed that he kept them safe and made them wealthier, and that he has succeeded in maintaining Israel’s security while reducing its isolation in the region.Mr. Netanyahu celebrating an election victory in 2020.Dan Balilty for The New York TimesMr. Netanyahu, right, with his lawyer at the Jerusalem district court in February during a hearing in his corruption trial.Pool photo by Reuven CastroIsrael’s Iron Dome missile defense system lights up the sky over Tel Aviv as it tries to intercept rockets fired from Gaza during the war last month.Corinna Kern for The New York TimesWhether or not he ever returns to power again, after Mr. Netanyahu dies, there will be many streets named after him, too.Benjamin Netanyahu shakes hands with the new prime minister, Naftali Bennett, after the Knesset approved the new coalition government on Sunday.Ronen Zvulun/Reuters More