In what has been the most serious challenge that Erdogan and his Justice and Development Party (AKP) have faced since first taking power in 2003 , Kilicdaroglu, a 74-year-old former accountant and civil servant who heads the Republican People's party (CHP), came close to ousting Erdogan from office.
While the opinion polls predicted that Kilicdaroglu was heading for a narrow victory in Sunday's poll, the contest ended with neither candidate securing the 50 percent threshold necessary to claim outright victory.
With more than 99 percent of the votes counted, Turkey's Supreme Election Council declared that Erdogan was ahead with 49.54 percent of the vote, while Kilicdaroglu had won 44.88 percent. With neither candidate achieving the 50 percent threshold, a rerun of the election is now scheduled for May 28.
Read more: Turkey heads for run-off election with Ogan the likely kingmaker
Premature celebrations and calls for patience
While AKP supporters are already claiming victory, taking part in street celebrations outside the party's headquarters in Ankara after the result was announced, the opposition was less convinced about the outcome, with activists accusing Erdogan's ruling party of interfering with the counting and the reporting of results.
Kilicdaroglu, by contrast, has urged his supporters to be patient, and insists he will prevail in the runoff.
There is certainly a recent precedent in Turkish politics whereby an opposition candidate seeking to challenge the AKP has prevailed in a run-off.
Following the success of Ekrem Imamoglu, the opposition candidate, in Istanbul's mayoral elections in 2019, the AKP tried to have the election annulled, citing voting irregularities. Instead there was a rerun of the election that resulted in Imamoglu increasing his share of the vote and securing victory.
Erdogan and his supporters therefore need to take care that history does not repeat itself in the presidential contest, especially as Kilicdaroglu, despite being five years older than Erdogan, appears to have attracted strong support from young Turkish voters.
With the Turkish economy facing strong headwinds, with inflation estimated to be running at 45 percent, discontent with Erdogan's government has been growing, especially as the Turkish leader has been accused of causing the economic difficulties through his inept handling of the coronavirus pandemic and its aftermath.
He has also faced strong criticism over his handling of last February's devastating earthquake that claimed more than 50,000 lives and displaced three million citizens.
Kilicdaroglu's pledge, therefore, to dismantle Erdogan's oppressive authoritarian system is one of the reasons he has managed to attract such strong support throughout the country.