CAIRO (AP) — Here are some key events from nearly three years of turmoil and transition in Egypt:
—Feb. 11, 2011: Autocrat Hosni Mubarak steps down after 18-days of nationwide protests against his nearly 30 years of rule. The military takes over, dissolving parliament and suspending the constitution after the uprising, which left hundreds of protesters dead.
— Nov. 28, 2011-Feb. 15, 2012: The Muslim Brotherhood wins nearly half the seats in multi-stage elections for the first post-Mubarak parliament, while ultraconservative Salafis take another quarter. The remainder go to liberal, independent and secular politicians.
— June 14: The Supreme Constitutional Court orders parliament dissolved on grounds the election rules were unconstitutional.
— June 17: Mohammed Morsi defeats Ahmed Shafiq, the last prime minister under Mubarak, with 51.7 percent of the vote in a runoff presidential election, taking office on June 30.
— Nov. 19: Members of liberal parties and representatives of Egypt's churches withdraw from the assembly writing the constitution in protest over dominance of Islamists.
— 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. The move sparks days of protests. Islamists hurriedly finalize a draft constitution and Morsi sets a Dec. 15 date for a referendum.
— Dec. 4: More than 100,000 protesters march on the presidential palace, demanding cancellation of the referendum. The next day, Islamists attack an anti-Morsi sit-in, sparking street battles that leave at least 10 dead.
— Dec. 15, Dec. 22: Egyptians approve the constitution by referendum, with 63.8 percent voting in favor but turnout low.
— Jan. 25, 2013: Hundreds of thousands protest against Morsi on the second anniversary of the start of the anti-Mubarak revolt; dozens die in ensuing clashes.
— April 7: A Muslim mob attacks the main cathedral of the Coptic Orthodox Church during a funeral for four Christians killed the day before. Pope Tawadros II blames Morsi for failing to protect the building.
— June 30: On Morsi's anniversary in office, millions of Egyptians begin days of massive demonstrations demanding he step down. The military gives him 48 hours to reach an agreement with his opponents, but he vows to stay in power.
— July 3: Egypt's military chief Gen. Abdel-Fattah el-Sissi announces Morsi's removal, installing Constitutional Court Chief Justice Adly Mansour as interim president. Tens of thousands of Morsi supporters camp out in two sit-ins in Cairo's streets demanding his return.
— July 8: Egyptian soldiers fire on Morsi supporters protesting outside a military facility in Cairo, killing more than 50. Each side blames the other for starting the violence. Mansour sets a timeline for amending the constitution and electing a new president and parliament by mid-February. The Brotherhood refuses to participate in the process.