Inside State House in Harare, Robert Mugabe was in the tightest spot of his 37-year rule. Tanks were on the streets and troops had occupied the state broadcaster, from where the army had announced it had taken control of Zimbabwe.
Mugabe, 93 years old but still alert, remained defiant. The only leader the country had known since independence was refusing to quit.
At a tense meeting with his military top brass on November 16, the world's oldest head of state put his foot down: "Bring me the constitution and tell me what it says," he ordered military chief Constantino Chiwenga, according to two sources present.
An aide brought a copy of the constitution, which lays out that the president is commander-in-chief of the armed forces.
Chiwenga, dressed in camouflage fatigues, hesitated before replying that Zimbabwe was facing a national crisis that demanded military intervention.
Mugabe retorted that the army was the problem, according to the sources present. Then the beleaguered president indicated that perhaps they could find a solution together.
The meeting marked the start of an extraordinary five-day standoff between Mugabe and Zimbabwe's supreme law on one side, and the military, his party and Zimbabwe's people on the other.
The generals wanted Mugabe to go, but they also wanted a peaceful "coup," one that would not irreparably tarnish the administration aiming to take over, according to multiple military and political sources.
The president finally accepted defeat only after he was sacked by his own ZANU-PF party and faced the ignominy of impeachment. He signed a short letter of resignation to parliament speaker Jacob Mudenda that was read out to lawmakers on November 21.
Mugabe, who had run Zimbabwe since 1980 and overseen its descent into economic ruin while his wife shopped for luxury goods, was gone.
The country erupted into ecstasy. Parliamentarians danced and people poured onto the streets in their tens of thousands to celebrate a political downfall that sent shockwaves across Africa and the world.
To many, the end of Mugabe had been unthinkable only one week before.
Reuters has pieced together the events leading up to Mugabe's removal, showing that the army's action was the culmination of months of planning that stretched from Harare to Johannesburg to Beijing.