ANKARA, Turkey (AP) — Turkey’s Prime Minister Recep Tayyip Erdogan won the country’s first direct presidential election in the first round Sunday, an unofficial vote count showed, ensuring he remains at the country’s helm for at least another five years.
‘‘It is understood that Recep Tayyip Erdogan has won an absolute majority of the votes,’’ election commission head Sadi Guven said in Ankara.
He added that no ballots would be printed for a runoff that would have been held had nobody won an absolute majority, and that the official results would be announced on Monday.
Erdogan’s main rival, Ekmeleddin Ihsanoglu, conceded defeat in a brief speech in Istanbul.
‘‘I hope that the result is beneficial for democracy in Turkey,’’ Ihsanoglu said. ‘‘I congratulate the prime minister and wish him success.’’
The first round victory ensures Erdogan, currently serving his third term as prime minister, will continue to lead the country for another five years. It will also allow him to press ahead with his plans to strengthen the powers of the presidency — which until now was largely a ceremonial post.
With 98 percent of ballot boxes opened, Erdogan stood at 51.95 percent of the vote, a count by the state-run Anadolu news agency showed. Ihsanoglu had 38.34 percent and the third candidate, Selahattin Demirtas, had 9.71 percent. Anadolu has reporters stationed in vote counting centers across the country.
‘‘The people showed their will at the polls today,’’ Erdogan said in a brief speech before thousands of cheering supporters in Istanbul Sunday evening, but stopped short of declaring victory.
He headed to the capital, Ankara, from where he was to address his supporters from his party headquarters later Sunday night.
‘‘The result was not a surprise. Opinion polls had indicated that he would obtain around 54 to 58 percent of the vote. He had dominated the election campaign,’’ said Fadi Hakura, an associate fellow at the Chatham House think tank in London.
‘‘Mr. Erdogan will perceive this result as a decisive mandate to push ahead with his plans for an executive form of presidency,’’ he said.
The head of the Islamic-rooted Justice and Development Party, or AKP, the 60-year-old Erdogan has been a polarizing figure.
He is fervently supported by many as a man of the people who has led Turkey through a period of economic prosperity. But his critics view him as an increasingly autocratic leader bent on concentrating power and imposing his religious and conservative views on a country founded on strong secular traditions.
Erdogan has vowed to transform the presidency into a powerful position — something his detractors say proves he is bent on a power grab. He has said he will activate the post’s rarely used dormant powers — a legacy of a 1980 coup — including the ability to call parliament and summon and preside over Cabinet meetings.
Hakura said the result would not alter Turkey’ course.
‘‘Nothing will change much,’’ he said. ‘‘Neither his style of governance, neither domestic policy nor Turkey’s external policy.’’
Legislator Huseyin Celik, the AKP spokesman, said the party — which now must elect a new party leader and designate a prime minister to replace Erdogan — would hold a meeting later Sunday and another one on Monday. Erdogan is widely expected to appoint a compliant prime minister so he can continue to exert control.
Party rules barred Erdogan from serving another term as prime minister. Turkish presidents used to be elected by parliament but Erdogan’s government pushed through a constitutional amendment in 2007, changing the procedure to a popular vote.
Ihsanoglu, the 70-year-old former head of the Organization of Islamic Cooperation and a political newcomer, seemed not to have won over the electoral base of the several parties backing him.
Yet the past year-and-a-half has been a turbulent one for Erdogan, who faced widespread anti-government protests in 2013 triggered by a violent police crackdown on demonstrators objecting to a construction plan in central Istanbul.
More anti-government protests erupted in May after 301 miners died in a coal mine fire blamed on shoddy safety practices. Erdogan and his son have also been implicated in a corruption scandal that he has dismissed as a coup plot by a moderate Islamic preacher and former ally living in the United States, Fethullah Gulen.
Dozens of judicial and police officials involved in the probe against him have been dismissed or re-assigned, and dozens of police have been arrested and jailed.
Becatoros reported from Istanbul.