Israeli prime minister Yair Lapid’s office says he has conceded defeat to former prime minister Benjamin Netanyahu in this week’s election.
A statement said Mr Lapid congratulated Mr Netanyahu and has instructed his office to prepare an organised transition of power.
“The state of Israel comes before any political consideration,” Mr Lapid said.
“I wish Netanyahu success, for the sake of the people of Israel and the State of Israel.”
Mr Lapid, who has served as interim prime minister for the past four months, made the announcement after a near-final vote count showed Mr Netanyahu securing a parliamentary majority with his religious and ultranationalist allies.
Final results were expected later Thursday.
The former prime minister is expected to form the country’s most right-wing government in history when he takes power, likely in the coming weeks.
Israel held its fifth election in four years on Tuesday, a protracted political crisis that saw voters divided over Mr Netanyahu’s fitness to serve while on trial for corruption.
The final ballots were still being counted late Thursday.
Mr Netanyahu and his ultranationalist and ultra-Orthodox allies were expected to control 64 or 65 seats in Israel’s 120-seat parliament, or Knesset.
His opponents in the current coalition, led by Mr Lapid, were expected to win 50 or 51 seats, with the remainder held by a small unaffiliated Arab party.
Mr Netanyahu’s victory and his comfortable majority puts an end to Israel’s political instability, for now.
But it leaves Israelis split over their leadership and over the values that define their state: Jewish or democratic.
Mr Netanyahu’s top partner in the government is expected to be the far-right Religious Zionism party, whose main candidate, Itamar Ben-Gvir, is a disciple of an anti-Arab rabbi.
Mr Ben-Gvir says he wants to end Palestinian autonomy in parts of the West Bank.
Religious Zionism has promised to enact changes to Israeli law that could make Mr Netanyahu’s legal woes disappear and, along with other nationalist allies, they want to weaken the independence of the judiciary and concentrate more power in the hands of lawmakers.
The party’s leader, Bezalel Smotrich, a West Bank settler who has made anti-Arab remarks, has his sights set on the defence ministry. That would make him the overseer of the military and Israel’s West Bank military occupation.
The surging power of Israel’s right wing came at the expense of its left flank. The Labour party, once a mainstream fixture of Israeli politics and which supports Palestinian statehood, was teetering just above the electoral threshold.
As vote counting neared an end, the anti-occupation Meretz appeared headed for political exile for the first time since it was founded in the 1990s.
Meretz’s leader, Zehava Galon, conceded the party would not be in the next parliament. “This is a disaster for Meretz, a disaster for the country and yes, a disaster for me,” she said.
The polarising Netanyahu, Israel’s longest-serving leader, was ousted in 2021 after 12 consecutive years in power by an ideologically-diverse coalition that included for the first time in Israel’s history a small Arab party.
The coalition collapsed in the spring over infighting.
Netanyahu is charged with fraud, breach of trust and accepting bribes in a series of scandals involving wealthy associates and media moguls.
He denies wrongdoing, seeing the trial as a witch hunt against him orchestrated by a hostile media and a biased judicial system.