A surprise hung parliament, misfiring high fives and candidates in costume - Britain's general election night had it all.
Here are a selection of the quirky moments that captured the attention of the British public.
As news the result spread, Twitter were quick to react to Theresa May's Conservative Party losing its parliamentary majority, with a Tweets-per-minute spike of 12,633 greeting the exit poll just after 10 pm (local time).
When you call an election for the banter and wake up to see you played yourself pic.twitter.com/a8WffsEpOc
— Medieval Reactions (@MedievalReacts) June 9, 2017
May's most retweeted message of the campaign was a post from May 20 (@theresa_may) in which the prime minister warned: "If I lose just six seats I will lose this election and Jeremy Corbyn will be sitting down to negotiate with Europe".
It was retweeted over 21,000 times.
If I lose just six seats I will lose this election and Jeremy Corbyn will be sitting down to negotiate with Europe: https://t.co/OwbfDseOJh
— Theresa May (@theresa_may) May 20, 2017
Her gamble to call the snap election was mocked by many users, including former England soccer player Gary Lineker (@garyLineker) who posted: "I think Theresa May has won own goal of the season." The post was retweeted more than 29,000 times.
I think Theresa May has won own goal of the season.
— Gary Lineker (@GaryLineker) June 8, 2017
Cameron gambled, lost. May gambled, lost. Tory party beginning to look like a casino.
— Sophie in 't Veld (@SophieintVeld) June 8, 2017
The surge in the vote for Corbyn's Labour party was attributed to a surge in turnout among voters aged 18-24, according to polling by Sky News.
Video clips of young people, including students at the London School of Economics, celebrating news of a hung parliament were shared widely on social media on Friday.
The PM recently revealed that the naughtiest thing she has ever done was "running through fields of wheat" as a child which made the farmers angry.
As the election results arrived, the revelation was picked up by social media.
— Matt Buckland (@ElSatanico) June 9, 2017
I suspect running through a field of wheat is no longer top of Theresa May's list of worst things she's ever done. #GE2017
— Bruce Douglas (@bruceecurb) June 8, 2017
Who made this..???? pic.twitter.com/ObWyfBvskq
— The invisible man (@invisibleman_17) June 9, 2017
— British Gov Watch (@BritishGovWatch) June 9, 2017
Others asked for May to resign.
— Harry Leslie Smith (@Harryslaststand) June 9, 2017
May's decision to form a coalition government with Northern Ireland's Democratic Unionist Party didn't go well with many.
— Moazzam Begg (@Moazzam_Begg) June 9, 2017
UK vote: results underline that calling early elections based on polls without allowing for error margins huge mistake
— Klaus Jurgens (@KlausJurgens) June 9, 2017
PRESS MAY STRESS
Prime Minister Theresa May as featured in the UK media
Before polls: May
During polls: Maybe
After polls: DisMay pic.twitter.com/rKUOfpHtUB
— Sushil Sharma (@sushilshrma) June 9, 2017
May's decision to call for early polls was called "amateur".
— Prophet Cynic (@CynicHarare) June 9, 2017
Some social media users smelled Russia's hand in the British polls.
Russia meddles in UK elections by sitting back and letting British politics implode. Outrageous! This must stop.
— Fredrik Wesslau (@FWesslau) June 9, 2017
Despite a better-than-expected performance for his party at the polls, Corbyn did have one embarrassing moment on election night.
A failed attempt at a high-five resulted in Corbyn slapping colleague Emily Thornberry in the chest, an image that was widely shared on social media.
— Julian Assange (@JulianAssange) June 9, 2017