Updated

The Venezuelan opposition's campaign to oust President Nicolas Maduro has been thrown into disarray with elections officials' decision to suspend a recall drive against the socialist leader a week before it was to start.

In a related move, a court appeared to issue a ruling Friday blocking key opposition leaders from leaving the country.

With the latest actions, the government has effectively halted the effort to stage a recall effort that polls suggest Maduro would have lost by a wide margin. The ruling is particularly dramatic because it comes just days before critics of the socialist administration were to start gathering the one-fifth of voters' signatures needed to place the issue on the ballot.

"This is a big deal and reveals that the government was fearful of what could happen in the three-day signature collection period. They have effectively postponed the recall referendum indefinitely. This measure makes it difficult to think of Venezuela as a democracy," said David Smilde, a Venezuela expert at the Washington Office on Latin America.

Officials cited alleged fraud in a preliminary effort to get 1 percent of voters' signatures as justification for blocking the opposition from proceeding to the next stage of the referendum on Maduro's removal. His critics blame the late President Hugo Chavez's heir for Venezuela's economic collapse, bare store shelves and the jailing of opposition leaders.

The opposition immediately blasted the decision as unconstitutional.

"The government is pushing toward a very dangerous scenario," former presidential candidate Henrique Capriles said on Twitter.

Capriles and opposition spokesman Jesus Torrealba on Friday posted a document online that appeared to be from a local court, and barred eight leaders from leaving the embattled South American country without giving a reason.

The suspension of the recall came as a shock to many Venezuelans, who were gearing up for the chance to sign petitions next week seeking the embattled leader's removal. To trigger a stay-or-go referendum, the opposition needed to collect and validate some 4 million signatures from 20 percent of the electorate in 24 states over three days next week.

Critics of Venezuela's 17-year left-wing administration have made the recall their central political issue after being sidelined in Congress and in virtually all other public institutions this year. But the campaign had already become mostly symbolic after elections officials in September said no vote would take place this year.

That timing is crucial. A successful vote to oust Maduro this year would have triggered a presidential election and given the opposition a good shot at winning power. If Maduro is voted out in 2017, though, his vice president will finish the presidential term, leaving the socialists in charge.

The electoral council's decision Thursday was in response to rulings earlier in the day by courts in four Venezuelan states that found there was fraud in the initial stage of the petition drive. During that stage the opposition had collected signatures from 1 percent of electorate.

But in standing by those low-court rulings it appeared to be ignoring its own decision in August validating the signatures and allowing the process to move forward. It gave no indication if and when the process would be resumed.

"In adherence with the constitution, the National Electoral Council abides by the decisions ordered by the tribunals and has sent instructions to postpone the process of signature gathering until new judicial instructions are known," it said in a statement.

Although the government-stacked electoral board had already thrown a number of obstacles in the way of Maduro's opponents, many had hoped that the next stage of the complex process would have drawn onto the streets millions of Venezuelans who polls show overwhelmingly favor firing Maduro, who they blame for triple-digit inflation and long food lines.

The ruling comes on the heels of another decision by the electoral council this week to suspend by about six months gubernatorial elections that were slated for year-end which the opposition was heavily favored to win.

Polls say a majority of Venezuelans want Maduro gone. The opposition charges that in the face of overwhelming voter discontent, the socialist party has simply decided to put off elections indefinitely.

The opposition staged its largest street demonstration in years on Sept. 1, with a rally in Caracas demanding a referendum against Maduro be held in 2016. But apart from that protest, most anti-government rallies this year have been relatively small and quick to disperse.

Hard line leaders immediately started calling for more massive street protests in the face of election authority's ruling.

"This is the time for national unity," wrote former congresswoman Maria Corina Machado on her Twitter account. "Every single person must take to the streets, with strength and without fear, to make the transition a reality."

___

Hannah Dreier is on Twitter at https://twitter.com/hannahdreier. Her work can be found at http://bigstory.ap.org/content/hannah-dreier.