The party eventually died down and the main question Monday is what political newcomer Ekrem Imamoglu's win in Turkey's biggest city means for Erdogan, and whether this is finally the opposition's moment for a serious challenge to his rule.
The opposition has been spent nearly two decades in the shadows as Erdogan's strengthened his hold on power. Imamoglu narrowly won the vote for Istanbul mayor in March, but the vote was controversially canceled because of procedural irregularities. The repeat vote, however, was resoundingly in his favor: Imamoglu garnered 54%, beating the government candidate Binali Yildirim who tallied 45%.
The landslide win fueled speculation that Erdogan and his Islamic-leaning Justice and Development Party, AKP, may be facing a real challenge after blitzing his opponents with successive election victories since it first came to power in 2002.
"Erdogan is likely to face not only an emboldened opposition but also more open dissent within the AKP itself," said Wolf Piccoli of the New York-based risk analysis firm Teneo Intelligence. "The victory of Ekrem Imamoglu ... is the most serious setback for Erdogan since his Justice and Development Party first took office in November 2002 and will further fuel the already growing sense amongst both his opponents and many members of his own party that his career is now in irreversible decline."
The vote count was officially ratified Monday. But Yildirim conceded within minutes after the first returns were announced, and tens of thousands of opposition supporters flocked to a square in an Istanbul suburb late Sunday to greet Imamoglu, chanting his campaign slogan, "Everything will be great!"
Erdogan rose to prominence as the mayor of Istanbul in the mid-1990s and dominated national politics following a 2001 financial crisis that wiped out much of the political establishment. He presided over years of growth, but in the past year the economy has been in-and-out of recession, with the country plagued high borrowing costs and sovereign downgrades.
The repeat election also heightened public anxiety over the style of government rule that critics describe has become increasingly authoritarian. Opposition supporter Banu Kirmizigul said he only voted in the repeat election, inspired by Imamoglu's campaign.
"I am really happy and my faith in this country has been restored," he said. "I saw that our people had awakened and I decided to wake up now, and I cast my vote. We (the opposition) got 800,000 more votes. We were successful and I am very happy."
Turkey's borrowing rates eased as the repeat election ended months of political uncertainty. The yield on Turkey's 10-year government bond eased to 15.3% after touching 20% in mid-May. A group of election monitors from the Council of Europe, a Strasbourg-France based organization aimed at holding members states accountable for their human rights commitments, said Sunday's election had been held "competently and in compliance with the applicable rules."
Ayse Wieting, Mehmet Guzel, and Bulut Emiroglu in Istanbul contributed to this report.
Follow Derek Gatopoulos at http://www.twitter.com/dgatopoulos and Bilginsoy http://twitter.com/zbilginsoy