A prominent bookmaker on Tuesday declared the U.S. election a foregone conclusion, opting to pay out more than $1 million to gamblers who have bet on victory by Democratic nominee Hillary Clinton over Republican rival Donald Trump on Nov. 8.

Irish bookmaker Paddy Power said it made the move after odds of a Trump victory all but collapsed.

“With national polls showing a healthy lead for the Democratic candidate and Donald Trump’s campaign running into scandal after scandal, Paddy Power believes it’s a done deal and that Hillary is a nailed-on certainty to occupy the Oval Office,” the firm said in a blog post. Paddy Power said it would continue to offer betting on the U.S. contest through Election Day.

While the news will likely provide further comfort to the Clinton camp, it’s worth remembering that the bookmakers were humiliated back in the run-up to the U.K.’s June 23 Brexit referendum on leaving the European Union. Betting odds overwhelmingly favored a “remain” vote.

See:How bookies blew the Brexit call

In the presidential contest, Paddy Power had initially put odds of a Trump 2016 victory at 100 to 1 back in November 2012, long before the New York real estate mogul had announced his candidacy. Those odds fell to as narrow as 13 to 8 in May 2016. But momentum subsequently reversed, with odds widening in the wake of a leaked tape from 2005 earlier this month in which Trump bragged that his celebrity status allowed him to kiss and grope women without permission. Several women subsequently came forward to say they had been harassed or assaulted by Trump in the past. Trump has denied the accusations and belittled the accusers.

Read:Donald Trump was ‘egged on’ into ‘boy talk,’ Melania Trump says

Odds showed little sign of shifting after documents showed that a State Department official in 2015 tried to keep the FBI from marking a Clinton email as classified.

Trump and Clinton will meet in a third and final debate on Wednesday night.

Trump’s odds at Paddy Power now stand at 9 to 2, representing an 18.2% chance of victory. Rival U.K. bookmaker Ladbrokes gives Trump narrower odds at 4 to 1, or a 25% chance of victory.

Paddy Power is the Irish unit of Paddy Power Betfair UK:PPB, which was formed by the September 2015 merger of the Irish bookmaker and U.K. rival Betfair.

Online and retail bookmaking is a huge business in the U.K. Paddy Power often pays out early on bets in a bid to drum up publicity. Paddy Power paid out on President Barack Obama’s 2012 re-election victory two days before the 2012 election.

Sometimes the early payouts can backfire. As the Paddy Power blog post noted, the firm was burned when it paid out early on Tiger Woods winning the 2009 PGA Championship only to see the golfer overtaken by Y.E. Yang. In 2013, Paddy Power paid out early on a Premier League title victory by Manchester United only to see rivals Manchester City pip them at the finish of the season.

U.K. and Irish gambling shops offer odds on an astonishing variety of events and contests. While horse racing and sporting events are at the heart of the business, gamblers can also lay wagers on everything from politics to the weather to who will be the next pope after Francis.

Indeed, British gamblers have been betting on U.S. presidential election outcomes for more than a century. In 1896, a London correspondent for the New York Times reported intense interest in the battle between Democrat William Jennings Bryan and the Republican nominee—and victor—William McKinley.

See:Political gambling an old tradition

“The Stock Exchange was the scene of unusual excitement today, more time being devoted to betting on the result of the presidential election in the United States than in the conduct of legitimate business,” the Times reported.