Turkey's opposition has dealt President Tayyip Erdogan a stinging blow by winning the rerun of the Istanbul mayoral election.
Ekrem Imamoglu secured a stunning victory for the opposition, which had initially won the mayoral election in March before the vote was challenged by Erdogan's ruling AK party over election irregularities.
In a televised speech, Imamoglu, a former businessman and district mayor, thanked his supporters.
"You have protected the reputation of democracy in Turkey with the whole world watching."
His opponent, ex-PM Binali Yildirim, has conceded.
On Twitter, Erdogan wrote: "I congratulate Ekrem Imamoglu who has won the election based on preliminary results."

US carrying out rescue effort after losing aircraft in Iraq
Suspect shot dead after crashing truck into Detroit-area synagogue
Iran's supreme leader, in first remarks, vows to keep strait closed
FBI investigating fatal Virginia university shooting as act of terrorism
Four Bahrainis arrested for spying for Iranian Guard
Two US sailors injured after non-combat fire aboard carrier in Red Sea
First train to Pyongyang in six years leaves Beijing as neighbours revive link
Six vessels attacked in Gulf, Strait of Hormuz
