Brazil's Jair Bolsonaro is facing the biggest crisis of his presidency after the heads of the army, navy and air force all quit and the country recorded its highest daily Covid-19 death toll.
The unprecedented resignation of the defence chiefs is being seen as a protest at attempts by Bolsonaro to exert undue control over the military.
Bolsonaro's popularity has plummeted over his response to Covid-19. Nearly 314,000 people have died, with a new daily record of 3780 on Tuesday.
Threat to global public health - epidemiologist
Worldwide, Brazil has the second highest number of total confirmed Covid cases with more than 12.6 million. Only the United States has had more.
Earlier this month the Brazilian public health institute Fiocruz warned the health system was close to collapse, with more than 80 percent of intensive care unit beds occupied in most of the country's states.
An epidemiologist in the state of Rio Grande do Sul, Dr Pedro Hallal, told the BBC he feared Brazil could become a threat to global public health.
President Bolsonaro has consistently opposed lockdown measures, arguing that the damage to the economy would be worse than the effects of the coronavirus itself.
He has also told Brazilians to "stop whining" about the situation.
But last week, Bolsonaro, who has previously raised doubts about vaccines and defended unproven drugs as treatment, said that he would make 2021 the year of vaccinations. "Very soon we'll resume our normal lives," he said.
So far Brazil has vaccinated just over 8 percent of the population, with some 17.7m vaccine doses dispensed.
What is the political fallout?
The president's popularity has plummeted over his handling of the pandemic, with 43 percent of Brazilians saying Bolsonaro is to blame for the Covid crisis, according to a Datafolha poll published in mid-March.
His government is in turmoil. On 16 March a new health minister took office - the fourth since the pandemic began. Marcelo Queiroga, a cardiologist, replaced an army officer with no medical training.
On Monday the defence and foreign ministers resigned, prompting a cabinet reshuffle. The foreign minister was accused of mishandling relations with China, resulting in a shortage of Covid-19 vaccines.
The defence minister clashed with Bolsonaro over the issue of the armed forces' loyalty, which he said should be directed to upholding the constitution rather than supporting the president personally.
They were followed on Tuesday by the heads of the army, navy and air force. It is believed to be the first time in Brazilian history that the heads of the armed forces have stood down together over a disagreement with the president.
The BBC's Latin America correspondent, Will Grant, says Bolsonaro is now facing his biggest political crisis since taking office in January 2019.
The president is a divisive figure who has sparked controversy with racist, homophobic and misogynistic comments.
A former army captain, Bolsonaro organised a commemoration in 2019 of the 1964 coup which put Brazil under military rule until 1985. At least 434 people were killed or disappeared, according to the findings of a 2014 national truth commission.
Bolsonaro defended the ceremonies, saying the aim was to remember the era rather than commemorate military rule itself.
On Wednesday, the newly appointed minister of defence, General Walter Braga Netto, said that it had "pacified the country" and should be celebrated.
He said that there had been a "very real threat to peace and democracy" and that the armed forces had confronted that threat.
- BBC