A timeline of events from Morsi’s election to rejection

Jan. 25-Feb. 11, 2011 – Egyptians stage nationwide demonstrations against the rule of autocrat Hosni Mubarak, who led the country for nearly three decades.

The 18-day ‘revolution,’ launched by secular and leftist youths, draws in a wide spectrum, including the Muslim Brotherhood and other Islamists. 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. Two days later, the body of top generals, the Supreme Council of the Armed Forces, dissolves parliament and suspends the constitution, meeting two key demands of protesters.

June 16-17 – Egyptians vote in the presidential runoff between Morsi and Shafiq. The generals issue a ‘constitutional declaration’ giving themselves sweeping authorities and limiting the powers of the next president. Morsi emerges as the victor, with 51.7 percent of the vote.

June 30 – Morsi takes his formal oath of office before the Supreme Constitutional Court, a day after reading a symbolic oath in Cairo’s Tahrir Square, birthplace of the revolution.

Aug. 12 – In a bold move, Morsi orders the retirement of the top Mubarak-era leadership of the military and cancels the military’s last constitutional decree, taking back the powers that the generals gave themselves. The move was seen as way to curb the military’s role in political affairs but it also gave Morsi the power to legislate in the absence of parliament.

Nov. 22 – Morsi unilaterally decrees greater authorities 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 came just ahead of court decisions that could have dissolved the bodies. The move sparks days of protests, with clashes between Morsi’s supporters and opponents. At one point, some 200,000 people rally in Tahrir Square, with some of the first chants for Morsi to ‘leave.’

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 a peaceful anti-Morsi sit-in outside the palace, sparking all-out street battles that leave at least 10 dead. Days later, Morsi rescinds his initial decrees, but maintains the date of the referendum.

Jan. 25, 2013 – Hundreds of thousands hold protests in Tahrir Square and nationwide against Morsi on the 2-year anniversary of the start of the revolt against Mubarak, and clashes erupt in many places.

Jan. 26 – Residents of the city of Port Said stage protests, angered by a court ruling convicting and sentencing to death a group of local soccer fans for a 2012 stadium riot. Police crack down hard in Port Said, killing more than 40 protesters, and in outrage the city and others nearby go into near revolt. Much of the anger is focused at Morsi, who praised the police for their crackdown.

Feb.-March – Protests continue in Port Said and other cities for weeks, with dozens more dying in clashes, and some police units around the country go on strike. Brotherhood youths and their opponents fight in the streets outside the group’s main Cairo headquarters.

June 23 – A mob beats to death four Egyptian Shiites in their home in a village on the edge of Cairo. Morsi condemns the attack, but critics blame virulent anti-Shiite rhetoric by his hard-line Islamist allies, fueled by Syria’s civil war. A week earlier, Morsi shared a stage with hard-line clerics at a rally, sitting silently as they denounced Shiites as ‘filthy.’

June 30 — Millions of Egyptians take to the streets in Cairo and other cities calling for Morsi to step down in a massive display of anger and frustration with the Islamist leader. The demonstrations are largely peaceful, although 16 people, half of them in clashes outside the Muslim Brotherhood’s Cairo headquarters, are killed in protest-related violence nationwide. Organisers vow to keep up the protests until Morsi resigns.

July 1 – Demonstrations continue and Egypt’s military issues an ultimatum for the two sides to come to a resolution within 48 hours or it will impose its own solution.

July 2 – A night of clashes outside Cairo University sees at least 16 people killed, with unofficial sources saying that more than 23 people died.

July 3 – Egyptian media reports that President Morsi will either be sacked or forced to stand down as the army’s deadline for a resolution approaches.

July 3, 6pm – The head of the Egyptian army, General Abdel Fattah al-Sisi declares on national TV that Morsi has been ousted from power, prompting a wave of celebrations across the country.

July 4 – Judge in Egypt’s supreme court, Adly Mansour, sworn in as interim president in Cairo.