Turkiye's landmark election headed Sunday to an explosive finale in which state media gave President Recep Tayyip Erdogan an early advantage and the opposition claimed to be leading the knife-edge vote.
The Anadolu state news agency showed the 69-year-old picking up nearly 50 percent of the vote and his secular rival Kemal Kilicdaroglu trailing with 43 percent.
AFP reporters said Erdogan's supporters had begun to celebrate outside his Islamic-rooted party's headquarters in Istanbul as the vote count progressed.
But Anadolu's figures were based on around 75 percent of the ballots and Kilicdaroglu claimed that his party's own vote count showed him winning.
"We are leading," the 74-year-old opposition leader tweeted after Anadolu's results started coming out.
Most of Anadolu's votes appeared to be coming from heavily pro-government districts and Erdogan's lead was shrinking as the number of counted ballots grew.
Leading opposition figures said the government was contesting results even in districts where Kilicdaroglu enjoyed strong support.
"They are contesting the count emerging from ballot boxes where we are massively ahead," Istanbul's opposition mayor Ekrem Imamoglu leader told reporters.
A separate count reported by the pro-opposition Anka news site showed the two leaders running neck-and-neck and falling just short of the 50-percent threshold needed to avoid a May 28 runoff.
Anka and Anadolu showed third-party candidate Sinan Ogan picking up five percent of the vote.
The election night drama reflected the massive stakes involved.
Turnout was expected to approach 90 percent in what has effectively become a referendum on Turkiye's longest-serving leader.
Erdogan has steered the nation of 85 million through one of its most transformative and divisive eras in the post-Ottoman state's 100-year history.
Turkiye has grown into a military and geopolitical heavyweight that plays roles in conflicts from Syria to Ukraine.
The NATO member's footprint in both Europe and the Middle East makes the election's outcome as critical for Washington and Brussels as it is for Damascus and Moscow.
Erdogan is lionised across swathes of conservative Turkiye that witnessed a development boom during his rule.
More religious voters are also grateful for his decision to lift secular-era restrictions on headscarves and introduce more Islamic schools.
"My hope to God is that after the counting concludes this evening, the outcome is good for the future of our country, for Turkish democracy," Erdogan said after casting his ballot in Istanbul.
Erdogan's first decade of economic revival and warming relations with Europe was followed by a second one filled with social and political turmoil.
He responded to a failed 2016 coup attempt with sweeping purges that sent chills through Turkish society and made him an increasingly uncomfortable partner for the West.
The emergence of Kilicdaroglu and his six-party opposition alliance -- the type of broad-based coalition Erdogan excelled at forging throughout his career -- gives foreign allies and Turkish voters a clear alternative.
A runoff on May 28 could give Erdogan time to regroup and reframe the debate.
But he would still be hounded by Turkiye's most dire economic crisis of his time in power, and disquiet over his government's stuttering response to the February earthquake that claimed more than 50,000 lives.
"We all missed democracy," Kilicdaroglu said after voting in the capital Ankara. "You will see, God willing, spring will come to this country."
Pre-election polls indicated Kilicdaroglu would win the youth vote -- nearly 10 percent of the electorate -- by a two-to-one margin.
"I can't see my future," university student Kivanc Dal, 18, told AFP in Istanbul on the eve of the vote.
Erdogan "can build as many tanks and weapons as he wants, but I have no respect for that as long as there is no penny in my pocket".
But nursery schoolteacher Deniz Aydemir said Erdogan would get her vote because of the economic and social progress Turkiye made after half a century of corruption-riddled secular rule.
The 46-year-old also questioned how a country could be ruled by a coalition of six parties -- a favourite attack line of Erdogan during the campaign.
"Yes, there are high prices... but at least there is prosperity," she said.
Related Story