(Adds El Salvador to receive opposition diplomats, US reaction)
SAN SALVADOR, Nov 2 (Reuters) - El Salvador said on Saturday it had ordered Venezuela's diplomats to leave the Central American country within 48 hours, arguing that the decision was in line with its position that Venezuelan President Nicolas Maduro is illegitimate.
In a statement, the government said President Nayib Bukele recognized opposition leader Juan Guaido as Venezuela's interim president until free elections were held in the South American country. El Salvador will receive a new Venezuela diplomatic corps, named by Guaido, the government added.
"In the near future, El Salvador awaits the receipt of credentials for Venezuela's new diplomatic representation," the statement said.
Multiple countries have recognized Guaido, citing irregularities in Maduro's re-election process. The opposition leader controls several Venezuelan embassies, including in the United States and Costa Rica, but has not been able to dislodge Maduro from the presidency.
The U.S. ambassador to El Salvador, Ronald Johnson, wasted little time in praising the decision.
"We applaud the government of Nayib Bukele for ensuring that El Salvador is on the right side of history by recognizing Guaido as the interim president of Venezuela," he tweeted in Spanish shortly after El Salvador made its announcement.
The Salvadoran move came less than a week after the U.S. government extended temporary protections for Salvadorans living in the United States by an extra year. (Reporting by Nelson Renteria; Editing by Frank Jack Daniel)