Peru's first female president, Dina Boluarte, who unexpectedly came to power on Wednesday after her former boss was ousted and arrested, will need to tread carefully to avoid her recent predecessors' fate of being forced out of office early.

In a day of high drama, Pedro Castillo was removed from the presidency in an impeachment trial after he tried to dissolve Congress illegally in a bid to stay in power. That followed months of instability and two prior impeachment attempts by a hostile legislature.

One of Boluarte's first official acts upon becoming president was to implore for a political truce and to pledge to form a broad Cabinet of all ideological stripes.