Israel's prime minister Binyamin Netanyahu faced a fight for his political survival on Tuesday as Israelis voted in an election that opinion polls predict the centre-left opposition could win.
After a bitterly contested campaign, the election has turned into a referendum on “Bibi” Netanyahu (65), who has been in power for a total of nine years spread over three terms.
If he narrowly loses the vote, Mr Netanyahu is probably still better placed than the opposition Zionist Union to cobble together a coalition, setting him on track to become Israel's longest-serving prime minister.
However, a fourth term would probably also prolong his prickly relationship with Israel's main ally, the United States, at least as long as Barack Obama is in the White House.
Mr Netanyahu has focused on the threat from Iran's nuclear programme and militant Islam. But many Israelis say they are tiring of the message, and the centre-left's campaign on social and economic issues, especially the high cost of housing and everyday living in Israel, appears to have won support.
In a possible sign of edginess, Mr Netanyahu took to Facebook to denounce what he said was an effort by left-wing non-profit groups to get Arab-Israelis out to sway the election against him.
“The right-wing government is in danger,” he wrote. “Arab voters are going to vote in droves. Left-wing NGOs are bringing them in buses.”
He took the unusual step of calling the media to his official residence for a statement while voting was under way, only to repeat his concerns about the opposition winning and to urge people to vote for him.
When the last opinion polls were published on March 13th, the Zionist Union led by Isaac Herzog held a four-seat lead over Mr Netanyahu's right-wing Likud, a margin that had the opposition set for a surprise victory.
But in the last days of campaigning, Mr Netanyahu fought to shore up his Likud base and lure voters from other right-wing, nationalist parties, promising more building of Jewish settlements and saying the Palestinians would not get their own state if he were re-elected.
Those sweeping promises, if carried out, would further isolate Israel from the United States and the European Union, which believe a peace deal must accommodate Palestinian demands for a state in the occupied West Bank, East Jerusalem and Gaza.
But they may go some way towards persuading voters to stick with what they know, rather than another candidate on the right.
Surveys show about 15 per cent of voters are undecided, meaning the result could swing widely - opinion polls have rarely been good predictors of Israeli elections in the past.
When Mr Netanyahu called the election in December, two years early, he looked set for an easy victory.
But Mr Herzog has mounted a resilient campaign and there is a sense that change could be in the air. Some voters have talked of Netanyahu fatigue.
By 6pm (1600 GMT) on Tuesday, turnout was running at 55 per cent, slightly lower than the last election. Voting was to end at 10pm, with the first exit polls published immediately afterwards.
If Mr Netanyahu can draw votes from other right-wing parties, he may be in a position to be asked first by Israel’s president to try to form a coalition.
No party has ever won an outright majority in Israel’s 67-year history. Coalition-building is an unpredictable game, with any number of allegiances possible among the 10 or 11 parties expected to win a place in the 120-seat Knesset.
It also takes time: the party invited to try to form a government has up to 42 days to negotiate a coalition. It may be mid-May at the earliest before Israel has a new government.
Since there are more parties on the right and far-right, Mr Netanyahu would have the advantage in coalition building if the Zionist Union wins by only a small margin. But if the centre-left wins by four or more seats, it should get the nod first to try to form a government.
Under sunny skies, Mr Netanyahu went to vote early with his wife at a school near their home in Jerusalem.
He acknowledged it was a tight race and urged voters to back the right.
Mr Herzog, who has overcome criticism of his slight stature and reedy voice to lead a strong campaign, voted in Tel Aviv, where he emphasised that the election was about a new direction.
“Whoever wants to continue the way of Bibi - despair and disappointment - can vote for him,” he said.
“But whoever wants change, hope, and really a better future for Israel, vote for the Zionist Union under my leadership.”
The son of a former president and the grandson of an eminent rabbi, Mr Herzog (54), is as close as it gets to having Kennedy-style heritage in Israel. While his leadership has been criticised in the past, he has shown wit and intellect on the campaign trail, bolstering his image among voters.
"For the first time in my life, I'm going to be voting for Labour, that is the Zionist Union," said Dedi Cohen (39), a lawyer in Tel Aviv.
“The risk of Netanyahu building the next government is too big. How long has he been in power? Nine years? It’s too much. Enough.”
Three or four parties are likely to decide how the balance of power tips in the coalition building.
Moshe Kahlon, the leader of Kulanu, a centrist party that broke away from Likud, is seen as perhaps the most important "kingmaker".
A former communications minister credited with bringing down mobile phone prices, Mr Kahlon could ally with either Mr Netanyahu or Mr Herzog, bringing up to 10 seats with him.
Repair US relations
One of the party's candidates, Michael Oren, a former Israeli ambassador to the United States, has said that whoever wins must try to repair relations with Washington, which have been under particular strain since Mr Netanyahu addressed Congress on March 3rd, attacking a possible nuclear deal with Iran sought by Mr Obama.
Yair Lapid, the leader of the centrist Yesh Atid party, could also ally with either side, bringing 12-14 seats. But he does not sit comfortably with religious parties, making him less flexible in coalition talks.
If the centre-left is to assemble a coalition, it will also need the support of ultra-Orthodox parties, which are expected to win about 13 seats.
Another factor is the parties from Israel’s 20 per cent Arab minority, which for the first time have united under one list and are expected to win around 13 seats as well.
While they are unlikely to join a centre-left coalition, they could give it tacit support and create a bloc against Mr Netanyahu.