Turkey’s ruling party has lost control of Istanbul after a re-run of the city’s mayoral election.

The candidate for the main opposition party, Ekrem Imamoglu, won 54% of the vote with nearly all ballots counted.

He won a surprise victory in March which was annulled after the ruling AK party complained of irregularities.

His opponent, ex-PM Binali Yildirim, has conceded.

President Recep Tayyip Erdogan congratulated the winner.

But the result is being seen as a major setback for Mr Erdogan, who has previously said that “whoever wins Istanbul, wins Turkey”.