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."

Thailand and Cambodia agree to 'consolidate ceasefire' in China talks
Three Turkish police, six ISIS members killed in clash
Indonesia fire kills 16 people in retirement home
Trump says US and Ukraine 'a lot closer' on peace deal but 'thorny issues' remain
China launches war games around Taiwan as island vows to defend democracy
At least 13 dead, 98 injured in Mexico train derailment
South Korean president vows to reveal truth on anniversary of Jeju Air crash
Trump, Netanyahu to discuss next phase of Gaza plan
