Egypt's former defense chief took the oath of office before the Supreme Constitutional Court. He won by a landslide victory last month.