He was a president for a very short while. During that time he announced that the restrictions on the president's power (put in place by the military due to previous tyrants) no longer concern him and then he fired judges and started doing whatever he pleased regardless of the legality. By the time he had usurped all state power to himself people decided that they had had enough and he was arrested.

Egypt went through several presidents in a short while after they ousted the one who had ruled for decades (also as a tyrant of some decree.)