In July 2014, after Mohamed Morsi, Egypt's first president to gain power through an election, was ousted by the military in 2013, Erdoğan labeled newly elected Egyptian President Abdel Fattah el-Sisi an "illegitimate tyrant".[300] The Egyptian Foreign Ministry warned that the Egypt–Turkey relationship would be worsened.[301]