He was nominated by the CHP as candidate for Mayor of Ä stanbul in 2009 local elections , in which he gained 36.8 % of all votes . He was nominated by the CHP as candidate for Mayor of Istanbul in the 2009 local elections , in which he gained 36.8 % of all votes .