Peru's President Dina Boluarte announced the return of the country's ambassador in Mexico in response to comments from her Mexican counterpart branding her government as unconstitutional.
Boluarte said the remarks made earlier on Friday by Mexican President Andres Manuel Lopez Obrador about her administration go against the international right to non-interference.
Mexico's Foreign Ministry did not immediately reply to a request for comment.
Boluarte ascended to the South American country's presidency on December 7 after former President Pedro Castillo was impeached following an attempt to dissolve Congress.
Boluarte accused Lopez Obrador of backing Castillo's attempt at a "coup d'etat."
"With his statements, Mr Lopez violates the principle of international law about non-interference in internal affairs, as well as those referring to the defence and promotion of democracy," she said in a television address.
Lopez Obrador told a news conference on Friday that Mexico will keep supporting Castillo, as he was "illegally ousted."
Boluarte's remarks come after a meeting between Lopez Obrador and Castillo's wife, Lilia Paredes, in Mexico earlier this week.


Saudi Arabia says 2 airports targeted as fighting with Yemen's Houthis escalates
Indian opposition marches in protest seeking resignation of election chief
Cornell students stage rally in support of 'Jane Doe'
Dozens quarantined in Siberia after plague institute lab worker dies
US, German scientists win Nobel medicine prize for work on light and brain