FILE PHOTO: Venezuelan opposition leader Juan Guaido, who many nations have recognized as the country's rightful interim ruler, speaks during a session of Venezuela's National Assembly in Caracas, Venezuela September 3, 2019. REUTERS/Manaure Quintero

CARACAS (Reuters) - Venezuelan lawmakers from small opposition parties on Friday said Juan Guaido should continue as head of congress in 2020, waiving their option to lead the legislature under an informal agreement to rotate leadership between parties.

The announcement ended speculation of an opposition rift over the 2020 legislative term, which under a 2016 agreement within the opposition would have fallen to a group of 17 small parties.

Guaido in January declared President Nicolas Maduro a usurper and assumed a rival interim presidency that has been recognized by more than 50 countries, and the opposition is keen for him to remain in the post.

“The national interest comes first,” Carlos Berrizbeitia, a lawmaker from the small Venezuela Project party, told reporters. “Until the usurpation ends, the president of the National Assembly will be Juan Guaido.”

Venezuela’s constitution says that in the event of a presidential vacancy, the presidency falls to the head of the National Assembly until a new election is held.

Maduro calls Guaido a U.S. puppet seeking to oust him through a coup and has suggested he may be arrested for treason.

Venezuela’s political stalemate comes against the backdrop of a hyperinflationary economic collapse that has fueled an economic crisis.

More than 4 million citizens have left the country, fleeing shortages of food and medicine, according to the United Nations.