A court in Turkey sentenced the mayor of the country's most populous city to prison on charges of insulting members of Turkey’s Supreme Electoral Council.