Image copyright Twitter/Nigel_Farage Image caption The former UKIP leader tweeted his congratulations as Mr Trump declared victory

The polls were off. The political establishment took a kicking. Financial markets quivered with uncertainty.

In the final days of his campaign, Donald Trump promised a victory that would be "Brexit plus plus plus" - after his win at the polls became apparent late Tuesday it didn't take long for Americans and Brits to pick up the theme.

Among them the former leader of the pro-Brexit UK Independence Party Nigel Farage who tweeted his congratulations as Mr Trump took to the stage in New York to claim victory. Earlier in the evening Mr Farage had compared the result in Florida with a key battleground success in Britain's referendum vote to leave the European Union.

Image copyright Twitter/Nigel_Farage

Others were less happy with the parallels.

Image copyright @obaa_boni

Image copyright @aaron_sparrow

Image copyright @bpedaci

Image copyright @sjohnson218

Meanwhile, Trump supporters cheered the Brexit comparison. The Trump campaign took heart from June's EU referendum, and Mr Farage had appeared onstage with the Republican candidate during the election campaign.

Image copyright @margrfed

Image copyright @hectormorenco

And as results rolled in on Tuesday night chat about Brexit - a consistently big topic of conversation on social media all year - spiked. The term was mentioned in about 150,000 tweets in a matter of a few hours.

Meanwhile the election prompted liberal-minded Californians to think about a separation of their own. #Calexit hit Twitter's list of top trends, with many in the heavily Democratic state arguing that the size of their economy could allow them to go it alone.

Image copyright @davidevanharris

Image copyright @yourmegabasic

Blog by Mike Wendling

More US election coverage from BBC Trending: How Facebook is influencing the vote

Image copyright Facebook

Facebook is influencing the election - but perhaps not in the way you might think.READ MORE

You can follow BBC Trending on Twitter @BBCtrending, and find us on Facebook. All our stories are at bbc.com/trending.