LIMA (Reuters) - Most Latin American nations recognized Venezuelan opposition leader Juan Guaido as interim president on Wednesday, leaving Nicolas Maduro ever more isolated as he faces unrest at home and threats from the United States.

Venezuela's President Nicolas Maduro attends a rally in support of his government and to commemorate the 61st anniversary of the end of the dictatorship of Marcos Perez Jimenez next to his wife Cilia Flores in Caracas, Venezuela January 23, 2019. Miraflores Palace/Handout via REUTERS

Longstanding leftist allies Bolivia and Cuba were the only countries in the region to explicitly voice support for Maduro as Argentina, Brazil, Chile, Colombia, Costa Rica, Ecuador, Guatemala, Honduras, Panama, Paraguay and Peru backed Guaido.

The United States and Canada also recognized Guaido - the 35-year-old leader of Venezuela’s opposition-dominated National Assembly - as Venezuela’s legitimate ruler.

However, Mexico - once a vocal member of the Lima Group regional bloc created to pressure Maduro to enact democratic reforms - struck a discordant note under new leftist President Andres Manuel Lopez Obrador, saying it would not take sides and branding support for Guaido a violation of sovereignty.

The telegenic Guaido declared himself Venezuela’s temporary president on Wednesday at a rally that drew hundreds of thousands of Venezuelans. He accused Maduro of usurping power and promised to create a transitional government.

The diplomatic support for Guaido was a striking move in a region where countries tend to refrain from criticizing each other despite their political differences, underscoring how rattled Venezuela’s neighbors have become by its deteriorating situation.

Criticism of Maduro has grown in recent years as his government has sidelined the National Assembly, held widely-questioned elections and overseen an economic crisis that has forced millions of Venezuelans to flee, mostly to other South American countries.

At the same time, right-leaning governments in South America have risen to power in places where Maduro once had allies.

“Argentina will support all efforts toward rebuilding democracy in Venezuela and reestablishing conditions of life worthy of all its citizens,” Argentine President Mauricio Macri said on Twitter on Wednesday.

Macri took office in 2015, replacing Maduro’s former ally Cristina Fernandez.

Maduro called on the military to stay united and severed diplomatic relations with Washington, which he accused of trying to orchestrate a coup with help from its allies in the region.

U.S. President Donald Trump reiterated that “all options are on the table” and his administration signaled potential new sanctions against Venezuela’s vital oil sector.

Mexico said it would still recognize Maduro as Venezuela’s legitimate president and called for dialogue.

“Mexico does not form part (of) this attempt to take sides and promote a type of internal intervention,” presidential spokesman Jesus Ramirez said in a broadcast interview.

Under Lopez Obrador, Mexico has returned to its traditional foreign policy of non-intervention.

“We maintain our position of neutrality and non-intervention toward the conflict in Venezuela,” Ramirez said.