Peru has a female president for the first time, after ex-president Pedro Castillo was impeached – hours after he tried to dissolve parliament.
Dina 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.
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.