More recently, Istanbul and many of Turkey's metropolitan cities are following a trend away from the government and their right-wing ideology. In 2013 and 2014, large-scale anti-AKP government protests began in İstanbul and spread throughout the nation. This trend first became evident electorally in the 2014 mayoral election where the center-left opposition candidate won an impressive 40% of the vote, despite not winning. The first government defeat in Istanbul occurred in the 2017 constitutional referendum, where Istanbul voted 'No' by 51.4% to 48.6%. The AKP government had supported a 'Yes' vote and won the vote nationally due to high support in rural parts of the country. The biggest defeat for the government came in the 2019 local elections, where their candidate for Mayor, former Prime Minister Binali Yıldırım, was defeated by a very narrow margin by the opposition candidate Ekrem İmamoğlu. İmamoğlu won the vote with 48.77% of the vote, against Yıldırım's 48.61%. Similar trends and electoral successes for the opposition were also replicated in Ankara, Izmir, Antalya, Mersin, Adana and other metropolitan areas of Turkey.