Ekrem Imamoglu, from the secular Republican People's Party (CHP), is seen as one of Turkish President Recep Tayip Erdogan's strongest political rivals.
Prosecutors accused him of corruption and aiding a terrorist group, calling him a "criminal organisation leader suspect".
Imamoglu said online "the will of the people cannot be silenced".
Vidéo connexe ici.