Hosni Mubarack has had a very hard time, this website gives you a lot of details about what happend with him and the protesters
But in the end it appeared that the president, himself a product of the military, was not able to convince the armed forces to come decisively to his support.
The next day Mr. Mubarak said that he would not run in elections scheduled for the fall but would instead oversee a "peaceful transfer of power."