1. Various of supporters gathered in front of AKP headquarters
2. SOUNDBITE (Turkish) Mehmet Akcam, 18, AKP supporter:
"We did not think that we would lose Ankara in this election. Still, AK Party is not on the losing side at all, but Ankara is. We are sorry for Ankara. But hopefully, Ankara will see the consequences of what it did."
3. Wide of supporters
4. Wide of supporters waving flags
5. Mid of AKP and Turkish flags
6. SOUNDBITE (Turkish) Muhammed Taki Akcan, 25, AKP supporter:
"They kept saying 'There is no democracy in the country' and 'The country is ruled by a dictator.' Now, is there a dictator in Turkey? They won the elections and we accepted it well."
7. Mid of supporters waving flags
8. Close of AKP flag
9. SOUNDBITE (Turkish) Ugur Ozbag, 22, AKP supporter:
"Unfortunately, the election results are not as we expected them to be. But since we started this cause under the leadership of Recep Tayyip Erdogan, we follow him. No matter whether we lose or not, we stand behind Recep Tayyip Erdogan until the end."
Turkish President Recep Tayyip Erdogan's ruling party led Sunday's 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.
Erdogan's conservative, Islamic-based Justice and Development Party, or AKP, took nearly 45 percent of the votes in the elections after 90 percent of the more than 194,000 ballot boxes were counted, according to state broadcaster TRT.
The secular, main opposition party, the Republican People's Party, or CHP had 30 percent.
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 more than 50 percent of the votes, according to TRT.
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.