El Salvador’s President Nayib Bukele has ordered all Venezuelan diplomats to leave the country within 48 hours.
In a statement, Bukele said this was in line with his government’s position that Venezuelan President Nicolás Maduro was no longer legitimate.
Bukele said the Central American nation regarded opposition leader Juan Guaidó as Venezuela’s head of state.
Venezuela has been caught up in a power struggle between Maduro and Guaidó, the National Assembly leader.
Guaidó declared himself interim president in January, claiming that the elections which brought Maduro to power for a second term were fraudulent.
In the statement (in Spanish) posted on Twitter, Bukele said: “The government of El Salvador expels the diplomatic corps from the regime of Nicolás Maduro.”
Bukele, who took the presidency in June, said Guaidó was the legitimate leader of Venezuela.
The statement added that in “the near future” El Salvador would receive a new Venezuelan diplomatic corps, named by Guaidó.
Maduro has so far made no public comments on the issue.
Meanwhile, the US Ambassador to El Salvador, Ronald Johnson, welcomed the announcement.
In a tweet, Johnson said El Salvador was “on the right side” of the Venezuela crisis.
Guaidó has gained the backing of over 50 countries – but has so far failed to remove Maduro from power.
Maduro is also supported by a number of nations, including Cuba, China and Russia.
Talks between the two sides hosted by Barbados and mediated by Norway recently stalled after President Maduro denounced the opposition for backing the sweeping sanctions imposed by the US.
Venezuela is suffering one of the worst economic crises in history with a quarter of its 30 million population in need of aid, according to the UN.
More than four million Venezuelans have left the country over the past years.
Maduro’s government has come under fire by the international community for a number of reasons.
When opposition parties gained a majority in the National Assembly, the president created a rival body stacked with his supporters which assumed many of its powers.
His 2018 re-election was controversial, and labeled as rigged by his critics, after many rivals were barred from running or fled the country.
Protests and demonstrations erupted into violence and were met with a crackdown by authorities which saw civilians killed.
The US has been a frequent target of Maduro’s anger.
Maduro has accused the US of trying to kill him, without supplying any evidence. He claims that his opposition is backed by foreign powers, rather than a domestic resistance to his authority.