Turkey on Sunday voted in a momentous election that could extend President Recep Tayyip Erdogan's two-decade hold on power or put the mostly Muslim nation on a more secular course.
Turnout was expected to be huge in what has effectively turned into a referendum on Turkey's longest-serving leader and his Islamic-rooted party.
It is the toughest of more than a dozen that Erdogan has confronted - one that polls suggest he might lose.
"They have been in power since I was born," 19-year-old Sila said after voting with her father in Ankara. "I want change now."
Erdogan, 69, 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.
Turkey 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.
"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 Kemal Kilicdaroglu and his six-party alliance - a group that forms the type of broad-based coalition that Erdogan excelled at forging throughout his career - gives foreign allies and Turkish voters a clear alternative.
Polls suggest the 74-year-old secular opposition leader is within touching distance of breaking the 50-percent threshold needed to win in the first round.
A runoff on 28 May could give Erdogan time to regroup and reframe the debate.
But he would still be hounded by Turkey's most dire economic crisis of his time in power and disquiet over his government's stuttering response to a February earthquake that claimed more than 50,000 lives.
"We all missed democracy," Kilicdaroglu said after voting in Ankara. "You will see, God willing, spring will come to this country."
Polls show Kilicdaroglu winning the youth vote - responsible for nearly 10 percent of the electorate - by a two-to-one margin.
"I can't see my future," university student Kivanc Dal 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 kindergarten teacher Deniz Aydemir said Erdogan would get her vote because of the economic and social progress Turkey 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.
Erdogan's campaign became increasingly tailored to his core supporters as election day neared.
He branded the opposition a "pro-LGBT" lobby that took orders from outlawed Kurdish militants and was bankrolled by the West.
Erdogan's ministers and pro-government media referred darkly to a Western "political coup" plot.
The opposition began to worry that Erdogan was scheming up ways to hold on to power at any cost.
The tensions boiled over when Istanbul's opposition Mayor Ekrem Imamoglu - a sworn foe of Erdogan who could become Kilicdaroglu's vice president - was pelted with rocks and bottles while touring Turkey's conservative heartland.
The election is expected to feature heavy turnout among the country's 64 million registered voters.
The last national election saw Erdogan win 52.5 percent on a turnout of more than 86 percent.
Turkey has no exit polls but tends to count ballots quickly.
Polling stations close at 5:00 pm (1400 GMT) and all reporting restrictions are lifted four hours later. The first results are sometimes published before then.
Voters will also select a new 600-seat parliament.
Polls suggest that Erdogan's right-wing alliance is edging out the opposition bloc in the parliamentary ballot.
But the opposition would win a majority if it secured support from a new leftist alliance that represents the Kurdish vote.