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.


Hong Kong court finds tycoon Jimmy Lai guilty in landmark security trial
School bus accident in Colombia kills 17, injures 20
Father and son reported behind Bondi shooting that killed 15
Shooting at Australia's Bondi Beach kills 12
Police hold person of interest after Brown University shooting leaves two dead
Hamas says Israel's killing of senior commander threatens ceasefire
Ukraine's Zelenskyy ditches NATO ambition ahead of peace talks
Thailand declares curfew along coast as Cambodia border fighting spreads
