Britons voted on whether to quit theEuropean Union in a bitterly-contested referendum on Thursday that polarised the nation and could change the face ofEurope.
Financial markets, on edge for weeks over the uncertain outcome, rose on the strength of late polls that showed a swing towards staying in, but the bulk of recent polls have suggested the outcome was too close to call.
If Britain becomes the first state to exit theEU, the so-called Brexit would be the biggest blow to the 28-nation bloc since its foundation.
TheEUwould be stripped of its second-biggest economy and one of its two main military powers, and could face calls for similar votes by anti-EUpoliticians in other countries.
If it votes to stay, Britain has been promised a special status exempting it from any further political integration butEuropean leaders will still have to address a sharp rise ineuro scepticism across the continent.
A Brexit vote would also deal a potentially fatal blow to the career of Prime Minister David Cameron, who called the referendum and campaigned for the country to stay in, against a Leave camp led by rivals from within his own Conservative Party.
After four months of campaigning, polling stations opened at 0600 GMT and were due to close at 2100, with results expected to be announced by the 382 individual local counting areas between around 0100 and 0300 on Friday.
There is no exit poll because the margin of error for an event which has no precedent is too large. The only early indication will be a survey of a pre-selected sample of voters by YouGov, to be broadcast on Sky News shortly after 2100.
London and parts of southeast England were hit by torrential rain, causing floods and widespread transport chaos.
Five London polling stations opened late as staff struggled to get there, and two closed briefly because of flooding but were quickly re-opened in back-up locations.
"In London/southeast and want to vote in the #EURef? Make sure you plan now to get back to your local polling station by 10pm!" the Electoral Commission said on Twitter, as crowds of frustrated commuters struggled with train cancellations.
The Leave campaign focused on warnings that Britain would be unable to control immigration levels as long as it was anEUmember. Remain said a Brexit would cause economic chaos, impoverish the nation and reduce its clout on the world stage.
The killing of pro-EUlawmaker Jo Cox, a 41-year-old mother of two who was shot and stabbed on a street in her electoral district in northern England a week ago, prompted soul-searching about the vicious tone of the campaign.
Her suspected murderer told a court his name was "Death to traitors, freedom for Britain". Campaigning was suspended for three days out of respect for Cox, resuming on Sunday.
An Ipsos MORI poll for the Evening Standard newspaper found support for Remain on 52 percent and Leave on 48 percent. A Populus poll put Remain 10 points ahead on 55 percent. Both were conducted on Tuesday and Wednesday and published on Thursday.
Cameron called the vote in 2013 under pressure from the rebellious anti-EUwing of his Conservative Party and the surging UK Independence Party (UKIP), hoping to end decades of debate over Britain's ties withEurope.
Unless Remain wins by a wide margin, he could struggle to repair the rifts in his party and hold on to his job. He has said he would stay in office but in the event of a vote to leave he is likely to face calls to resign.
The bookmakers' favourite to replace him is former London mayor Boris Johnson, figurehead of the Leave campaign.
A Brexit could also cause the United Kingdom to break up because Scotland, where sentiment towards theEUis much more positive than in England, could hold an independence referendum if it was being dragged out of theEUagainst its will. Scots voted by 55 to 45 percent against independence in 2014.
OBAMA V TRUMP
After months of non-stop tit-for-tat confrontation between the sides, any substantive debate was over on Thursday. Due to legal restrictions, there were no large-scale campaign events and no television programmes rehearsing the arguments.
Traders, investors and companies were braced for volatility on financial markets whatever the outcome of a vote that has both reflected, and fuelled, an anti-establishment mood also seen in the United States and elsewhere inEurope.
After the Ipsos MORI poll was released, sterling broke above $1.49 for the first time since 2015, although it later fell back and was at $1.48 at 1800 GMT. It had fallen almost to $1.40 last week when polls showed a surge towards Leave.
The likelihood of a Remain vote implied by Betfair betting odds stood at 86 percent, the firm said.
Britain is divided onEUmembership along broad age and education lines, polls show. Older and less educated voters tend to favour exit and younger voters and those with higher levels of education lean towards staying.
Whatever the outcome of the vote, the focus on immigration to Britain, which has increased dramatically in recent years, could worsen frictions in a country where the gap between rich and poor has also been widening.
Foreign leaders, from U.S. President Barack Obama to Chinese leader Xi Jinping, have called on Britain to remain in theEU, a message supported by global financial organisations, many company bosses and central bankers.
U.S. Republican presidential candidate Donald Trump, who will be in Scotland on Friday for the opening of his luxury golf resort at Turnberry after a refurbishment, has voiced support for Brexit.
"I don't think anybody should listen to me because I haven't really focused on it very much, but my inclination would be to get out," he told Fox Business on Wednesday.
"You know, just go it alone. It's a mess," he said of theEU, citing a migration crisis it has struggled to contain.
International banks have warned that the value of the pound could fall dramatically if Britain votes to leave and traders expect markets to be more volatile than at any time since the 2008-09 financial crisis.