The president-elect of Guatemala said he was blocked Saturday from entering Venezuela where he planned to meet opposition leader Juan Guaidó, who is seeking to oust socialist President Nicolás Maduro.

The commercial flight carrying Alejandro Giammattei, who takes office in Guatemala on Jan. 14, made an early morning landing at the airport near Caracas, but his visit ended there.

"They didn't allow our entry into Venezuela," Giammattei said in a video posted on Twitter. "They escorted us to the gate and put us on the returning plane."

National Assembly President and self-proclaimed interim president of Venezuela Juan Guaido speaks during a press conference after Guatemala's president elect Alejandro Giammattei was denied entry into Venezuela, at the Metropolitan University in Caracas, Venezuela, Saturday, October 12, 2019. Giammattei said he landed early Saturday at the airport near Caracas, but officials denied his entry, escorting him to a departing plane. (AP PhotoAndrea Hernandez Briceño)

National Assembly President and self-proclaimed interim president of Venezuela Juan Guaido speaks during a press conference after Guatemala's president elect Alejandro Giammattei was denied entry into Venezuela, at the Metropolitan University in Caracas, Venezuela, Saturday, October 12, 2019. Giammattei said he landed early Saturday at the airport near Caracas, but officials denied his entry, escorting him to a departing plane. (AP PhotoAndrea Hernandez Briceño)

Giammattei expresses his support for Guaido in the video shot from the plane about to depart.

Guaidó, who traveled to the airport to greet the foreign leader, launched a campaign early this year with backing from more than 50 nations to unseat Maduro. Critics accuse Maduro of claiming a second term following a fraudulent election in 2018, while overseeing the once-wealthy oil-nation's economic and social collapse.

Giammattei said in another video that in Caracas he planned to invite Guaidó to his inauguration in Guatemala and press for Venezuela's return to democracy, including the release of political prisoners and the immediate call to elections.

National Assembly President and self-proclaimed interim president of Venezuela Juan Guaido speaks during a press conference after Guatemala's president elect Alejandro Giammattei was denied entry into Venezuela, at the Metropolitan University in Caracas, Venezuela, Saturday, October 12, 2019. Giammattei said he landed early Saturday at the airport near Caracas, but officials denied his entry, escorting him to a departing plane. (AP PhotoAndrea Hernandez Briceño)

National Assembly President and self-proclaimed interim president of Venezuela Juan Guaido speaks during a press conference after Guatemala's president elect Alejandro Giammattei was denied entry into Venezuela, at the Metropolitan University in Caracas, Venezuela, Saturday, October 12, 2019. Giammattei said he landed early Saturday at the airport near Caracas, but officials denied his entry, escorting him to a departing plane. (AP PhotoAndrea Hernandez Briceño)

Guaidó later spoke at a private university where he was to meet with Giammattei, saying Maduro's government used "unprecedented, unnecessary diplomatic aggression" by refusing the Guatemalan leader.

Maduro's government didn't immediately comment on turning away Giammattei.

Maduro maintains control of Venezuela with the backing of the military and international support from Cuba, Russia and China, among other nations. Venezuela's leader accuses the Trump administration of leading an economic war bent on replacing his government with Guaidó's puppet government.

Associated Press writer Sonia Pérez contributed to this story from Guatemala.