Mubarak resigns: Your reaction
Hosni Mubarak has decided to step down as president of Egypt.
In an announcement on state TV, Vice-President Omar Suleiman said Mr Mubarak had handed power to the military.
Here, BBC News website readers in Egypt give their reaction to the announcement.
Gigi Ibrahim, Tahrir Square, Cairo
Abdel Razzak Sidky, Cairo
I'm very close to the presidential palace - there are crowds of people here celebrating.
After 30 years of repression - I never imagined this day would ever come.
I'm 19-years-old so I've never known any other president.
I never imagined I would see the day when Mubarak would step down.
Everyone here is holding flags - the slogan has changed from "the people demand the removal of regime" to "the people have removed the regime." Everybody is happy and optimistic.
Maged Salib, Cairo
I hoped for a peaceful transition of power which followed the law, so I am worried about this move.
This is what the people want, but that doesn't necessarily mean it's good for them.
This is a very worrying time and the people who are celebrating now should stop treating this like a soccer match.
They just wanted to get the president to step down, but they weren't thinking about the ramifications.
The army must give an exact declaration of what they will do.
The only legal authority now is from members of parliament.
If the army says that they will dissolve our parliament then we will have no constitution, no government and no vice-president.
I've just been out onto the streets and everyone is waving flags and sounding horns.
Most of my friends are not happy about this, because we don't like the idea of the army taking power. We don't need another 60 years of military rule.
Nora Shalaby, Tahrir Square
I am in Tahrir Square right now. The atmosphere is great - everyone is jumping around and chanting.
No one can believe this news. It is amazing. I am overwhelmed and excited.
Today is for celebration - tomorrow is for thinking about what comes next.
We want the army to be in charge just for the transition of power, we don't want them to take over.
I will stay here in the square for a few hours celebrating and taking it all in.
Rascha Ragheb, Cairo
It is very sad news but I am not surprised.
When they announced that there would be a speech from the presidential palace I knew that he was going to go. It was wishful thinking that he would stay.
From tomorrow morning, army officers will be running the country.
These people who are chanting and shouting in the streets will soon find out the high price we have to pay. It is not promising.
It was 1952 when we were under a military regime but then Egypt was a rich country, now Egypt is poor.
I am very angry and I am not the only one - others share my view.
We need an answer as to who will lead Egypt now.
The army will take over and they will replace all our decision makers with army officers.
The protesters are being ignorant. No one can tell me the plan for the future. To them this is a game - they have not even read a paper and know nothing about economics. They don't know what it means to have a military regime.
There is no single example of a country that has flourished under a military regime.
Myself and family are considering our options and may leave Egypt.