Turkish president Recep Tayyip Erdogan’s ruling party is leading mayoral elections but suffered setbacks as the opposition regained hold of the capital Ankara and made significant inroads in other parts of Turkey.
The elections, which the Turkish strongman had depicted as a fight for the country’s survival, were largely seen as a test of his support amid a sharp economic downturn.
Both the ruling party and the opposition claimed victory in the neck-to-neck race in Istanbul.
Mr Erdogan’s conservative, Islamic-based Justice and Development Party (AKP) took 44% of the votes in the elections after 99% of the more than 194,000 ballot boxes were counted, according to the official Anadolu Agency.
The secular, main opposition party, the Republican People’s Party (CHP) had 30%.
The CHP’s mayoral candidate for Ankara, Mansur Yavas, however, won control of Ankara after 25 years of rule by the AKP and a predecessor party.
The 63-year-old lawyer received nearly 51% of the votes, according to Anadolu.
The CHP and its allies also posted gains elsewhere, increasing the number of city mayoral seats from 14 in the previous local elections in 2014 to 20, according to the preliminary results.
“History is being written in Ankara,” said deputy CHP leader Haluk Koc, while thousands of supporters celebrated outside the party’s headquarters in Ankara.
Former prime minister Binali Yildirim, the ruling party’s candidate for mayor of Istanbul, declared victory even though the race in Turkey’s largest city and commercial hub was too close to call.
Mr Yildirim garnered 48.70% of the votes against the opposition candidate Ekrem Imamoglu’s 48.65%, according to Anadolu.
CHP leader Kemal Kilicdaroglu rebuked Mr Yildirim for declaring victory in Istanbul “in haste” and claimed his party had now control of Turkey three largest city: Istanbul, Ankara and Izmir.
Mr Imamoglu said he had won Istanbul by more than 29,000 votes, according to results tallied by his party.
Mr Erdogan attaches great importance to Istanbul where he began his rise to power as its mayor in 1994.
He has said at campaign rallies that “whoever wins Istanbul, wins Turkey.” He refrained from declaring victory in the city of 15 million people.
Ankara was considered the main battleground of the race, where a former government environment minister, Mehmet Ozhaseki, ran for mayor under the banner of Mr Erdogan and his nationalist allies.
The ruling party accused his opponent Mr Yavas of forgery and tax evasion. Mr Yavas said he is the victim of a smear campaign.
“Ozhaseki and his dirty politics have lost,” Mr Yavas said in a victory speech.
Sunday’s elections were a first test for Mr Erdogan since he won re-election under a new system of government that gave the presidency expanded powers.
Mr Erdogan campaigned tirelessly for AKP’s candidates, framing the municipal elections as a matter of “national survival”.
He also portrayed the country’s economic woes as attacks by enemies at home and abroad.
“Those who have tried to bring our country on its knees by damaging our people’s unity and togetherness, have once again been dealt a blow,” Mr Erdogan said, noting that the party had emerged as the winner nationwide by a large margin.
The voting was marred by scattered election violence that killed at least four people and injured dozens of others across Turkey.
Years of economic prosperity provided Mr Erdogan and his party with previous election victories.
But the race for 30 large cities, 51 provincial capitals and hundreds of districts were held as Turkey grapples with a weakened currency, a double-digit inflation rate and soaring food prices.
The high stakes of the local contests were brought into stark display with the deaths of two members of the Islamic-oriented Felicity Party, a small rival of the president’s Justice and Development Party.
Felicity’s leader, Temel Karamollaoglu, said the killings were not caused by “simple animosity”, but happened when the volunteers tried to enforce the law requiring ballots to be marked in private voting booths instead of out in the open.
Two other people were killed in fighting in the southern city of Gaziantep.
Fights related to local elections in several provinces also produced dozens of injuries, Anadolu reported.