CAIRO (AP) — Millions of people poured into Egypt's streets Friday in rival rallies while the nation's ousted president was formally placed under investigation on a host of allegations including murder and conspiracy with the Palestinian militant group Hamas.
Here are some key events from more than two years of turmoil and transition in Egypt:
Jan. 25-Feb. 11, 2011 — Egyptians stage nationwide demonstrations against the rule of President Hosni Mubarak. Hundreds of protesters are killed as Mubarak and his allies try to crush the uprising.
Feb. 11 — Mubarak steps down and turns power over to the military. The military dissolves parliament and suspends the constitution, meeting two key demands of protesters.
Nov. 28, 2011-Feb 15, 2012 — Egypt holds multistage, weekslong parliamentary elections. In the lawmaking lower house, the Muslim Brotherhood wins nearly half the seats, and ultraconservative Salafis take another quarter. The remainder goes to liberal, independent and secular politicians. In the largely powerless upper house, Islamists take nearly 90 percent of the seats.
May 23-24, 2012 — The first round of voting in presidential elections has a field of 13 candidates. Morsi and Ahmed Shafiq, the last prime minister under Mubarak, emerge as the top two finishers, to face each other in a runoff.
June 14 — The Supreme Constitutional Court orders the dissolving of the lower house of parliament.
June 16-17 — Egyptians vote in the presidential runoff between Morsi and Shafiq. Morsi wins with 51.7 percent of the vote.
June 30 — Morsi takes his oath of office.
Nov. 19 — Members of liberal parties and representatives of Egypt's churches withdraw from the 100-member assembly writing the constitution, protesting attempts by Islamists to impose their will.
Nov. 22 — Morsi unilaterally decrees greater powers for himself, giving his decisions immunity from judicial review and barring the courts from dissolving the constituent assembly and the upper house of parliament. The move sparks days of protests.
Nov. 30 —Islamists in the constituent assembly rush to complete the draft of the constitution. Morsi sets a Dec. 15 date for a referendum.
Dec. 4 — More than 100,000 protesters march on the presidential palace, demanding the cancellation of the referendum and the writing of a new constitution. The next day, Islamists attack an anti-Morsi sit-in, sparking street battles that leave at least 10 dead.
Dec. 15, Dec. 22 — In the two-round referendum, Egyptians approve the constitution, with 63.8 percent voting in favor. Turnout is low.
Jan. 25, 2013 — Hundreds of thousands hold protests against Morsi on the 2-year anniversary of the start of the revolt against Mubarak, and clashes erupt in many places.
Feb.-March 2013 — Protests rage in Port Said and other cities for weeks, with dozens more dying in clashes.
April 7 — A Muslim mob attacks the main cathedral of the Coptic Orthodox Church as Christians hold a funeral and protest there over four Christians killed in sectarian violence the day before. Pope Tawadros II publicly blames Morsi for failing to protect the building.
June 23 — A mob beats to death four Egyptian Shiites in a village on the outskirts of Cairo.
June 30 — Millions of Egyptians demonstrate, calling for Morsi to step down. Eight people are killed in clashes outside the Muslim Brotherhood's Cairo headquarters.
July 1 — Huge demonstrations continue, and Egypt's powerful military gives the president and the opposition 48 hours to resolve their disputes, or it will impose its own solution.
July 2 — Military officials disclose main details of the army's plan if no agreement is reached: replacing Morsi with an interim administration, canceling the Islamist-based constitution and calling elections in a year. Morsi delivers a late-night speech in which he pledges to defend his legitimacy and vows not to step down.
July 3 — Egypt's military chief announces that Morsi has been deposed, to be replaced by the Chief Justice of the Supreme Constitutional Court until new presidential elections. No time frame is given. Muslim Brotherhood leaders are arrested.
July 4 — Supreme Constitutional Court Chief Justice Adly Mansour is sworn in as Egypt's interim president.
July 5 — Mansour dissolves the Islamist-dominated upper house of parliament as Morsi's supporters stage mass protests demanding his return. Clashes between pro- and anti-Morsi groups in Cairo and Alexandria, and violence elsewhere leave at least 36 dead. A Brotherhood strongman, deputy head Khairat el-Shater, is arrested.
July 8 — Egyptian soldiers open fire on Muslim Brotherhood demonstrators in front of a military base in Cairo, killing more than 50. Each side blames the other for starting the clash. The Brotherhood calls for an uprising against the military. Mansour puts forward a time line for amending the constitution and electing a new president and parliament by mid-February. The Brotherhood refuses to participate in the process.
July 9 — Mansour appoints economist Hazem el-Beblawi as prime minister and opposition leader Mohamed ElBaradei as vice president. A military announcement backs up the appointments.
July 26 — Millions pour into the streets of Egypt in rival demonstrations after a call by the country's military chief for protesters to give him a mandate to stop "potential terrorism" by supporters of Morsi's Muslim Brotherhood. Five people are killed in clashes. Prosecutors announce Morsi is under investigation for a host of allegations including murder and conspiracy with the Palestinian militant group Hamas.