After ten weeks of intense and often bitter rivalry between opposing camps, many reputations were made - and lost.
Richard Kay, Editor at Large, looks at the winners and losers of the campaign...
Elizabeth Hurley: Hers were the only genuine vital statistics in the whole referendum.
Her eve-of-poll endorsement for Brexit may not have clinched the result, but that picture of glamourpuss Liz - still stunning at 51 - wearing nothing but stilettos and a Union Jack cushion sidelined Remain's gloomy luvvies with their apocalyptic hatred of a self-sufficient Britain.
Boris Johnson & Michael Gove: The most high-profile and persuasive members of Brexit's team. Not close friends, but they came together to put principle first.
For Gove and his wife, Sarah, the personal price has been high. Their close friendship with Dave and Sam is broken beyond repair.
Gisela Stuart: Wise, warm and calm, the 60-year old German-born Labour MP has been a stand-out star of the Leave campaign.
She brushed aside a nasty attack from Lord Sugar (see Losers), who said an "immigrant from Germany" should not be telling "us British what we should do".
Followed Boris around on the campaign trail like a maiden aunt but was a highly competent debater.
The Queen: She made no "think-very-carefully-about-the-future" intervention as she did ahead of the Scottish referendum, but there were subtle hints of how she really feels.
Three days before polling, it was revealed she had been asking dinner party guests for "three good reasons" why Britain should remain in Europe.
Did she purr down the line - as she did to Cameron after the Scottish poll - when the Prime Minister rang the Palace to tell her the news?
Nigel Farage: Yes, he's won. Seventeen years after first being elected to the European Parliament his life's work, fuelled by a reservoir of alcohol, has come to fruition.
The days when he barely polled above the Official Monster Raving Loony Party are a distant memory.
Victory has come at a price, though - unassailable as Ukip leader, he is now surely out of a job.
Dominic Cummings: Maverick campaign director of Vote Leave, which was a guerilla movement compared to the might of the Government machine.
Employed a group of physicists to devise a brilliant computer program to predict who to target and how the public might vote. It put the pollsters to shame.
Ebullient former special adviser to Michael Gove, and once described as "mad, bad, or brilliant". Now expected to play a key role in a future Tory government.
Daniel Hannan: The highly intelligent MEP who has been banging on about the evils of Europe for longer even than Farage and campaigned for voters to "please sack me" by voting Leave.
Now expected to come to Westminster where he can make a significant contribution. A seat at the Cabinet awaits.
Ian Botham: The England cricketing legend urged Britain to 'stand proud' by voting to leave. Sir Beefy, 60, accused the EU of 'greed and corruption'.
Arguably our greatest sportsman, he put that tattooed prima donna David Beckham to shame.
Sir Michael Caine: The veteran Hollywood star was unequivocal: "You cannot be dictated to by thousands of faceless civil servants [in Brussels]."
Andrea Leadsom: The obscure Tory minister is now known to millions for her passionate and persistent plea to "take back control".
She left Remain campaigners dumbfounded with a rousing eve-of-referendum speech that brought thunderous applause as she savaged the "undemocratic EU".
If Remain had won, she would have been facing a future as the speaking clock, now tipped as a future Tory leader.
Croissant makers: They baked thousands of croissants for Remain to hand out free to London commuters on the penultimate day of campaigning.
Though the give-away was banned by electoral scrutineers, the bakers still got their dough.
Steve Hilton: The strategist who was arguably the architect of David Cameron's leadership campaign was a powerful Leave voice.
Once one of Cameron's closest friends, he also proved revenge is a dish best served cold.
Four years after being forced out of Downing Street, Hilton, 46, has got his own back.
Lawyers: Just imagine the zillions to be made out of all that lucrative legal work rewriting all those European trade contracts.
The BBC: Impressively impartial throughout the campaign, sticking resolutely - for once - to its own rules of even-handedness.
From the opening shots to polling day, the Corporation generally managed to hide its usual institutional affection for the EU to be non-partisan and fair-minded.
Question Time audience: Normally packed with Lefties, during the past week the show held Mr Cameron's feet to the fire over immigration and refused to let him talk only about dubious economic forecasts.
Also told the egregious lipstick-wearing comedian Eddie Izzard (see Losers) to "shut up" when he was shouting the odds about Remain, and gave short shrift to London Mayor Sadiq Khan when he tried to smear Leave as 'Project Hate'.
Dame Joan Collins: Declared her colours in a one-word tweet, 'Brexit', followed by images of Union flags and a thumbs-up emoticon.
Gillian Duffy: It's taken six years, but the plain-speaking Rochdale pensioner, famously branded a bigot by Gordon Brown after challenging him on immigration during the 2010 election campaign, has finally been vindicated.
In her solidly Labour constituency of Rochdale, she was among the 60 per cent who voted for Brexit.
Lord Bamford: The JCB tycoon and long-time chum of David Cameron was another who courageously put principle before friendship by writing to his company's 6,500 employees in the UK to explain why Britain could thrive outside the European Union.
Sir James Dyson: The Tory supporter and inventor of the bagless vacuum cleaner was a lone pro-Leave voice among cutting-edge tech superstars.
Priti Patel: The 44-year-old Employment Minister has been brave and committed, and even had to withstand a dressing down from Cameron at No 10 for blaming the shortage of school places on "uncontrolled immigration". Asian herself, she stuck to her guns.
Flag makers: A run on bunting and Union flags means they may be in short supply for a few weeks.
Passport makers: Time to ditch the maroon pint-sized Euro travel document and return to the true blue British passport.
Housebuyers: Falling property prices might help the housing market and, in the South-East, allow first-time buyers a foot on the ladder at last.
Number plate makers: At last we can see the back of the deeply infuriating Euro flag on registration plates.
Removal men: If bankers relocate to Europe and elsewhere - as is threatened - Pickfords and its rival companies will do a roaring trade.
Good luck with settling in Frankfurt, though; it is known as the Basingstoke of Germany.
Norman Lamont, Michael Howard and Nigel Lawson: Three of the Tories' biggest hitters, implacable opponents of Remain who rose above snide remarks from the likes of George Osborne about economic illiteracy.
Samantha Cameron: Teary, of course, as she stood loyally and with great dignity at her husband's side in Downing Street, but now she can get her life back.
Her priorities? Move back to Notting Hill, launch her own fashion range and perhaps send her children to private schools.
The Daily Mail: Day after day in the face of a barrage of smears from the metropolitan chattering classes, your Daily Mail articulated its readers' worries about open borders and an unaccountably corrupt Brussels.
George Osborne: Only a year ago, with Britain's economy outstripping expectations, he looked unbeatable as next Tory leader.
Chief scaremonger of Project Fear, he made himself look ludicrous and irresponsible, and was fatally undermined when he threatened to introduce an emergency "punishment budget" with huge tax rises and spending cuts in the event of a Brexit vote.
Sir Jeremy Heywood: Cabinet Secretary Heywood, nicknamed Sir Cover-up, dragged his reputation even lower when he allowed the Civil Service to become highly involved in the early part of the campaign, allowing £9 million of public money to be spent on Remain leaflets.
Can he now remain?
e pollsters: The second time in 13 months they (especially YouGov) have got it spectacularly wrong. Even on polling day they were calling it for Remain.
The Johnsons: Not Boris, of course, but other family members - MP Jo, columnist Rachel and father Stanley - all backed Remain.
J.K. Rowling, Daniel Craig & Benedict Cumberbatch: The luvvies came out for Remain, but couldn't win over a population sick to death of being told how to vote by rich actors who think they're as clever as the lines they recite.
Lord (Stuart) Rose: There was surprise when the ex-M&S boss was appointed chairman of Stronger In Europe - not least because he was previously sceptical about Europe.
He let the cat out of the bag early on by admitting to a Commons select committee that working-class wages would rise if we left the EU. A dreadful gaffe, albeit an honest one. Almost the last we saw of him.
Jeremy Corbyn: One thing you used to be able to say about Labour's eccentric leader was that he stuck to his principles.
After lifelong Eurosceptic Corbyn campaigned (half-heartedly) for Remain, we can't even say that.
Mark Carney: Formerly of Goldman Sachs, the Canadian-born Bank of England governor, 51, put the so-called independence of the Bank to one side by repeatedly appearing to side with Remain with ominous warnings of gloom.
Amber Rudd: The Climate Change Secretary's highly personal jibe about Boris - "he's not the man you want to drive you home at the end of an evening" - backfired spectacularly.
Once seen as a rising star, but after that it was "taxi for Miss Rudd".
Eddie Izzard: The cross-dressing comedian was ridiculed for his Question Time appearance - in a pink beret - during which he clashed with Nigel Farage and earned a rebuke from the audience to "shut up".
Brexit pleaded with the BBC to use him more.
Bob Geldof: The self-obsessed grubby former pop star took to the Thames with metropolitan chums in a pleasure boat to sneer and give a two-fingered salute to fishermen at a Brexit protest outside Parliament.
A low moment in a very dirty war.
Sir Nicholas Soames: Churchill's grandson and cheerleader for Remain, who insisted - ludicrously - his grandfather would have voted to stay in Europe. His most eloquent contribution was to launch a four-letter rant at a fellow Tory MP and Brexit supporter.
Sir Richard Branson: Placed paid adverts in the national Press during the closing days of the campaign, but voters were not persuaded to stay in Europe by an obsessive self-promoter who chooses to spend most of his time on a Caribbean island.
Millionaire Tony Blair, Peter Mandelson and their thug enforcer Alastair Campbell: Labour's three 'unwise men' who thought they could take support for their cherished Europe for granted without realising how much they were hated by both Labour and Tory voters.
Will Straw: Remain's strategy supremo, son of Jack, had high hopes of a great political future as an MP. They all but vanished yesterday morning.
Sajid Javid: Business Secretary Javid, long seen as a leading Eurosceptic, caved in to Downing Street pressure and supported Remain.
Lost brownie points, too, over Tata steel. Leadership prospects out of the window.
Financial Times, The Economist & Guardian: House publications of the metropolitan chattering classes all supported Remain, all predicted doom and destruction if we voted Brexit and all showed how far removed and insulated they are from everyday life.
All received a well-deserved bloody nose.
Craig Oliver: Hapless No. 10 spin doctor who chose to ignore the popular print media and promote Cameron - who hates Fleet Street - on TV only. A catastrophic error of judgment.
Jeremy Vine: The hyper-active TV presenter was accused by viewers of presiding over 'meaningless and incomprehensible' charts and graphs on the BBC's Referendum night programme.
Posh & Becks: As in the Scottish referendum, the celebrity duo saw fit to make a political endorsement, this time for Remain.
Poor old Becks; he never won anything with England either.
David Dimbleby: The veteran anchor man failed to rise to the occasion. The BBC coverage did not grasp the drama of the occasion at all. Surely, at 77, it's time for slippers and cocoa.
The bookies: They made Remain odds-on favourites and claimed their odds were better indicators than polls that were veering all over the place. Just like the pollsters, they called it wrong.
Baroness Warsi: Three days before polling, the former Conservative Party chairwoman said she was defecting from Leave to join Remain blaming the 'hate and xenophobia' of Brexit.
The Out camp said they were not even aware she had been part of their campaign.
Dr Sarah Wollaston: The Devon Tory MP was another defector.
She dramatically announced she was changing sides because she said Remain's claims that voting to leave would free up £350 million for the NHS was not true. Her protest was scarcely noticed.
Goldman Sachs, Merrill Lynch, JP Morgan & the other bankers: The amoral and greedy bankers, who triggered the crash, had the nerve to lecture us, exploiting fear over jobs, living standards and pensions.
They were comprehensively rejected by voters.