Ekrem Imamoglu was detained at his home on Wednesday, according to prosecutors, who said the charges against him were related to corruption and terrorism.