A court formally arrested the mayor of Istanbul and key rival to President Recep Tayyip Erdogan on Sunday and ordered him jailed pending the outcome of a trial on corruption charges. Mayor Ekrem Imamoglu was detained following a raid on his residence earlier this week, sparking the largest wave of street demonstrations in Turkey in more than a decade. Government officials reject accusations that legal actions against opposition figures are politically motivated and insist that Turkey’s courts operate independently.