Updated

After a campaign widely seen as a referendum on his rule, Benjamin Netanyahu is the winner of Israel's election as he heads toward a record-setting fifth term as prime minister.

The Likud party's apparent victory paves the way for Netanyahu to build a coalition with his ultra-Orthodox and religious-nationalist allies.

Here's a look at some other winners and losers in the election:

THE WINNERS:

THE ULTRA-ORTHODOX VICTORY

Ultra-Orthodox Jewish parties, the prime minister's key allies in the past three governments, gained a handful of seats. The Sephardi Orthodox party Shas, for example, rose to become the third largest party in parliament. Ultra-Orthodox parties commanded 13 seats in the previous parliament. With most ballots counted, the two ultra-Orthodox parties were projected to win a total of 16 combined seats.

Like the previous Netanyahu administration, ultra-religious parties will likely wield outsized influence despite comprising less than 20% of Israel's Jewish population.

THE RIGHT-WING GAMBLE

Netanyahu drew sharp condemnation at home and abroad for brokering an alliance of religious nationalists and ultranationalist extremists called the Union of Right-Wing Parties. Representatives of a religious ultranationalist faction inspired by the banned Kahanist movement, branded a terrorist organization by the U.S. for an agenda that includes forced expulsion of Palestinians, merged with a religious settler party.

Netanyahu's gambit paid off, and the Union scraped past the electoral threshold.

Their win may embolden Netanyahu to pursue a hard-line agenda that could see Israel entrench its control over the West Bank, and extinguish hopes for a future Palestinian state.

The parties have also signaled they'll stand by the prime minister if he is indicted on corruption charges, and support him in passing immunity laws to protect him from prosecution.

THE NEWCOMER

Former army chief Benny Gantz proclaimed victory to an exuberant crowd at Blue and White's election party in Tel Aviv, when exit polls had him in a dead heat with Netanyahu. He woke up Wednesday to news that, though his party matched the Likud's votes, the tentative election results gave Netanyahu's potential coalition of religious and nationalist parties a clear majority in parliament.

The Blue and White party later conceded defeat, but vowed to "embitter" Netanyahu and his allies from the opposition.

The party leaders said their "exceptional outcome" proved that a broad spectrum of Israelis sought "a true alternative" to Netanyahu's 10 consecutive years in office. Gantz said that his party managed in 70 days to match the power of a party that's been a dominant force in Israeli politics since the 1970s.

THE LOSERS:

THE LANGUISHING LEFT

Israel's liberals and socialist left wing bloc suffered a major defeat. The Labor Party, which founded Israel and dominated politics for its first 30 years, plummeted to a historic low of just six seats in the 120-member parliament.

Several factors, including disillusionment with party chairman Avi Gabbay, contributed to Labor's fall. But most significantly, the centrist Blue and White party supplanted Labor as the main viable alternative to long-ruling Likud, siphoning off support from the left.

The dovish Meretz party lost parliamentary seats, earning the minimum of four. The country's Arab parties, plagued by low Arab turnout and divided by infighting among faction leaders, dropped from 13 seats to just 10.

Far from its heyday in Israel's pioneering age, Israel's left now appears doomed, as Yohanan Plesner from Israel's Democracy Institute said, "to represent a mere niche."

THE FALLEN STARS

The New Right party, led by Education Minister Naftali Bennett and Justice Minister Ayelet Shaked, may not win the necessary 3.25% of the vote to qualify for the Knesset, Israel's parliament.

The pair of popular pro-settler ministers split from their religious-nationalist Jewish Home party and sought greater power by drawing secular voters. That maneuver decidedly backfired.

UP IN SMOKE

Ultranationalist libertarian Moshe Feiglin's Zehut party, touted as the Cinderella story of the election, also saw its parliamentary hopes evaporate as actual votes fell short of the minimum needed to enter parliament.

Feiglin attracted a flurry of attention on the campaign trial by appealing to young religious nationalist voters with a platform of marijuana legalization, free market economics and annexation of the Israeli-occupied West Bank — along with a slew of other contentious policies, such as rejecting American military aid and paying Arabs to emigrate if they refused to accept Jewish sovereignty.

Pre-election polls predicted Feiglin would be a possible kingmaker. But having failed to make the cut, former Defense Minister Avigdor Lieberman and Finance Minister Moshe Kahlon, leery Netanyahu allies, are now poised to become coalition power brokers.