Israeli Prime Minister Benjamin Netanyahu on Friday signed agreements with key coalition partners, forming a new government just before a deadline and a milestone visit by US President Barack Obama.
The alliance of Netanyahu's Likud party and former foreign minister Avigdor Lieberman's Yisrael Beitenu had been locked in intense negotiations for 40 days with the centrist Yesh Atid and far-right Jewish Home parties, which held the key to building a government with a majority in the 120-seat parliament.
"The prime minister welcomes the coalition agreements that have been signed between the Likud and Yisrael Beitenu and the Yesh Atid party and the Jewish Home," Netanyahu's office said on Friday afternoon, about an hour before the start of the Jewish Sabbath which ends on Saturday evening.
"On Saturday evening, the prime minister will inform President Shimon Peres that he has completed the task" of forming a government, it said.
Netanyahu had a legal deadline of Saturday evening to come up with a coalition or admit defeat.
He had previously signed with the centrist HaTnuah party of former foreign minister Tzipi Livni, who is to be justice minister and Israel's negotiator in talks with the Palestinians.
With Yesh Atid and Jewish Home on board, the coalition will command a total of 68 parliamentary seats.
The new cabinet is expected to be sworn in by parliament on Monday, 48 hours before the arrival of US President Barack Obama.
Netanyahu's Likud party confirmed Yesh Atid leader Yair Lapid would be finance minister and that his party, which has 19 seats in parliament, would also take the education, social services health, and science and technology portfolios.
Jewish Home, which won 12 seats, receives a newly-named economy and trade portfolio along with housing and pensioners' affairs.
The allocation of seats for Likud-Beitenu was not detailed, but Netanyahu was expected to temporarily handle foreign affairs, pending the conclusion of former foreign minister Lieberman's trial on charges of fraud and breach of trust.
Lieberman's hardline Yisrael Beitenu ran on a joint ticket with Netanyahu's Likud, with the list winning a narrow victory of 31 seats.
Likud was also to take charge of the defence and interior ministries, according to press reports.
Likud said the coalition members pledged among other things to pursue "a peace agreement with the Palestinians with the aim of reaching a political agreement that will end the conflict."
If such a deal could be negotiated, it would be put to the cabinet, parliament and a national referendum for approval, the party said in a statement.