The governments of Mexico, Argentina, Ecuador and Bolivia supported the continuation of the presidency of Pedro Castillo in Peru, where he faces several criminal investigations and constant threats of dismissal.
The leftist Castillo, a former teacher and peasant raised in a poor family in Peru's rural Andes, came to power last year.
"We reiterate our solidarity with the legitimately constituted authorities," the countries said in a joint statement. "We trust that all national actors will privilege the construction of broad consensus," the text added.
Although his election spooked investors, Castillo has moderated his stance, keeping technocrats in the finance ministry. The president has gone through several crises, surviving two impeachment attempts and the reorganization of his cabinet on several occasions.
He is also subject to six separate criminal investigations, among other things, for obstruction of justice in the dismissal of an interior minister. Opposition lawmakers have said they would like to launch a third impeachment attempt, but acknowledge they do not have the votes to do so.
Mexico, Argentina and Bolivia are run by leftist governments that have supported Castillo in the past. Ecuador is led by center-right Guillermo Lasso.