who had strained relations with Trump’s predecessor, Barack Obama, was elected in 2014, a year after leading the military’s ousting of the Muslim Brotherhood’s president, Mohamed Mursi, after mass protests.