The city’s mayor, Ekrem Imamoglu, a rival to President Recep Erdogan, was detained on March 19 on corruption and terrorism charges.