Zimbabwe President Emmerson Mnangagwa, a former spy chief installed after Robert Mugabe's removal in a coup in November, was elected on Thursday after a poll marred by the deaths of six people in an army crackdown on opposition protests.
The election, the first since the army's removal of 94-year-old Mugabe, passed off relatively smoothly but its aftermath revealed the deep rifts in Zimbabwean society and the instinctive heavy-handedness of the security forces.
On Wednesday, troops backed by armoured vehicles and a military helicopter were sent in to crush demonstrations by stone-throwing opposition supporters who said Mnangagwa's ZANU-PF party had rigged the elections.
Six people were killed as soldiers, some with their faces obscured by camouflage masks, opened fire with automatic weapons. The following day, soldiers ordered civilians off the streets of the capital, despite calls from foreign governments and international organisations for calm and for political leaders to show restraint.
Police then sealed off the headquarters of Chamisa's Movement for Democratic Change (MDC) before storming the building and arresting 16 people. The search warrant said they were looking for unlicensed firearms, grenades and stones.
Coupled with video of soldiers firing on unarmed demonstrators on Wednesday, the raid does serious damage to Mnangagwa's efforts to rehabilitate the image of a country synonymous with political repression and economic collapse.
Wednesday's crackdown by the army crushed the last vestiges of euphoria that followed its removal of Mugabe in November and fuelled suspicions that the generals who launched the coup remained Zimbabwe's de facto rulers.
In Harare, the contrast could not have been starker with November, when hundreds of thousands filled the streets, hugging soldiers and celebrating their role in ousting Mugabe, the only leader Zimbabwe had known since independence in 1980.
"They are showing their true colours now. We thought they were our saviour in November but they fooled us," said newspaper vendor Farai Dzengera, saying that the brief dream of an end to decades of repression was over.
"What can we do? ... They run this country."
Before the police stormed the MDC headquarters, Secretary-General Douglas Mwonzora said 27 party workers carrying out voter tabulation were locked inside its offices by officers who had sealed off the building.
"We will not recognise that search warrant because they want to plant evidence. They want to disrupt our results tabulation process, that's all," he said. Police denied the allegation. "The police are there to do their job," police spokeswoman Charity Charamba said.
Nearly all shops in downtown Harare were shuttered and the normally bustling pavements quiet the day after the bloodshed.
Wednesday's violence and the use of soldiers to control the capital confirms suspicions that the generals who ousted Mugabe - including army chief-turned vice-president Constantino Chiwenga - are firmly in charge, analysts said.
"Deployment of troops reveals the uncomfortable truth that eight months after Mugabe was ousted, the army remains the pre-eminent political force," said Piers Pigou, a Zimbabwe expert at the International Crisis Group think-tank.
The election was supposed to confirm the legitimacy of the post-Mugabe government and allow Harare to renew ties with the international community. This, in turn, would have allowed it to start unlocking the donor funding and investment needed to get its economy - at independence, one of Africa's most vibrant - back on its feet.
The United Nations and European Union both urged restraint, while Britain, a supporter of the "new" post-Mugabe Zimbabwe, said it was "deeply concerned" by the violence. China said, however, it believed the election had generally been orderly.