Dina Boluarte has become Peru’s first female president after ex-president Pedro Castillo was impeached – hours after he tried to dissolve parliament.
Boluarte, previously the vice-president, was sworn in after a dramatic day in Lima on Wednesday.
Earlier in the day, Mr Castillo had said he was replacing Congress with an “exceptional emergency government”.
But lawmakers ignored this, and in an emergency meeting impeached him. He was then detained and accused of rebellion, BBC reported.
Reports in local media say he was heading to the Mexican embassy in the capital when he was arrested.
Ms Boluarte, a 60-year-old lawyer, said she would govern until July 2026, which is when Mr Castillo’s presidency would have ended.
Speaking after taking the oath of office, she called for a political truce to overcome the crisis which has gripped the country.
“What I ask for is a space, a time to rescue the country,” she said.
Wednesday’s dramatic chain of events began with President Pedro Castillo giving an address on national television in which he declared a state of emergency.
He announced that he would dissolve the opposition-controlled Congress, a move which was met with shock both in Peru – several ministers resigned in protest – and abroad.
The head of the constitutional court accused him of launching a coup d’etat, while the US “strongly urged” Mr Castillo to reverse his decision.
Peru’s police and armed forces released a joint statement in which they said they respected the constitutional order.
Mr Castillo tried to dissolve Congress just hours before it was due to start fresh impeachment proceedings against him – the third since he came to office in July 2021.
In his televised address he said: “In response to citizens’ demands throughout the length and breadth of the country, we have decided to establish an exceptional government aimed at re-establishing the rule of law and democracy.”
He said that “a new Congress with constituent powers to draw up a new constitution” would be convened “within no more than nine months”.
But Congress, which is controlled by parties opposed to Mr Castillo, convened an emergency session and held the impeachment vote Mr Castillo had been trying to prevent.
The result was overwhelming: 101 voted in favour of impeaching him, with only six against and 10 abstentions.