One by one, the markers of Venezuela’s democracy have been pushed aside.

First, the Supreme Court was packed with loyalists of the President, and several opposition politicians were blocked from taking their seats. Then, judges overturned laws that the President opposed, and elections for governors around the country were suddenly suspended.

Next, the court ruled in favour of dissolving the legislature entirely, a move that provoked such an outcry in Venezuela and abroad that the decision was soon reversed.

Now, President Nicolas Maduro is pushing a radical plan to consolidate his leftist movement’s grip over the nation: he is creating a political body with the power to rewrite the country’s constitution and reshuffle – or dismantle – any branch of government seen as disloyal.

The new body, called a constituent assembly, is expected to grant virtually unlimited authority to the country’s leftists.

Venezuelans are going to the polls tomorrow to weigh in on the plan. But they will not have the option of rejecting it, even though some polls show that large majorities oppose the assembly’s creation. Instead, voters will be asked only to pick the assembly’s delegates, choosing from a list of stalwarts of Mr Maduro’s political movement.

The new assembly will rule above all other governmental powers – technically even the President – with the kind of unchecked authority not seen since the juntas that haunted Latin American countries in decades past.

“This is an existential threat to Venezuelan democracy,” said David Smilde, an analyst at the Washington Office on Latin America, a human rights advocacy group.

The list of delegates includes powerful members of the President’s political movement, including Diosdado Cabello, a top politician in the ruling Socialist Party who was involved in a failed coup attempt in the 1990s, and Cilia Flores, the President’s wife.

But the push to consolidate power also puts the country at a crossroads, one laden with risk.

As Maduro effectively steers his country toward one-party rule, he sets it on a collision course with the United States, which buys nearly half of Venezuela’s oil. On Wednesday, President Donald Trump’s administration froze the assets of, and forbade Americans to do business with, 13 Venezuelans close to Maduro, including his interior minister and heads of the army, police and national guard.

In pictures: The crisis in Venezuela Show all 22 1 /22 In pictures: The crisis in Venezuela In pictures: The crisis in Venezuela A girl scavanges for food in the streets of Caracas Getty Images In pictures: The crisis in Venezuela A man scavenges for food next to girls in the streets of Caracas. Venezuelan President Nicolas Maduro is resisting opposition efforts to hold a vote on removing him from office. The opposition blames him for an economic crisis that has caused food shortages Getty Images In pictures: The crisis in Venezuela Venezuelans line up to get the 'Fatherland's Card' at Bolivar Square in Caracas Getty Images In pictures: The crisis in Venezuela The mother of Venezuelan Rebecca Leon, who scavenges for food in the streets of Caracas, feeds her grandson at their house in Petare shantytown. Getty Images In pictures: The crisis in Venezuela Venezuelan Rebecca Leon, who scavenges for food in the streets of Caracas, with her two-year-old son at her house in Petare shantytown Getty Images In pictures: The crisis in Venezuela Members of a pro-government community organisation work in an expropriated bakery in Caracas. Supported by popular militiamen, Venezuelan government inspectors oversee bakeries as bread comes out of the oven, to undermine an alleged plot to induce scarcity of this staple food Getty Images In pictures: The crisis in Venezuela Forensic police stand next to the body of a man outside a supermarket, where he died of a heart attack after waiting in a long line to buy food, in Caracas Getty Images In pictures: The crisis in Venezuela Venezuelan opposition activists take part in a protest against the government of President Nicolas Maduro at the Francisco Fajardo highway in Caracas Getty Images In pictures: The crisis in Venezuela National guard throws a tear gas canister during a rally against Venezuela's President Nicolas Maduro's government in Caracas, Venezuela Reuters In pictures: The crisis in Venezuela Opposition supporter shouts at a police officer during a rally against Venezuela's President Nicolas Maduro's government in Caracas Reuters In pictures: The crisis in Venezuela Opposition supporters clash with national guards during a rally against Venezuela's President Nicolas Maduro's government in Caracas Reuters In pictures: The crisis in Venezuela A boy wearing a t-shirt with the colours of the Venezuelan national flag, during a demonstration against President Nicolas Maduro's government at Foreign Affairs Ministery, in Buenos Aires, Argentina AP In pictures: The crisis in Venezuela Protesters cover themselves from tear gas fired by the Venezuelan National Guard officers during a protest in Caracas AP In pictures: The crisis in Venezuela Opposition supporters clash with national guards during a rally against Venezuela's President Nicolas Maduro's government in Caracas Reuters In pictures: The crisis in Venezuela Venezuelan opposition activists take part in a protest -blocked by the National Guard- against the government of President Nicolas Maduro at the Francisco Fajardo highway in Caracas Getty Images In pictures: The crisis in Venezuela A Venezuelan national guard reacts to the effect of pepper spray during a protest of opposition supporters against Venezuela's President Nicolas Maduro's government in Caracas Reuters In pictures: The crisis in Venezuela Opposition supporters holding a Venezuelan flag protest against Venezuela's President Nicolas Maduro's government during a rally in Caracas Reuters In pictures: The crisis in Venezuela Opposition supporters clash with riot police during a protest against Venezuela's President Nicolas Maduro's government in Caracas, Venezuela Reuters In pictures: The crisis in Venezuela Opposition supporters protest against Venezuela's President Nicolas Maduro's government during a rally in Caracas Reuters In pictures: The crisis in Venezuela Venezuela's Supreme Court abandoned measures to seize power from the opposition-controlled legislature after the moves drew international condemnation and raised pressure on President Nicolas Maduro. The president of Venezuela's National Assembly Julio Borges dismissed the court's gesture and told reporters that nothing had changed and the coup continued Getty Images In pictures: The crisis in Venezuela Venezuelans living in Peru and other protesters take part in a rally against Venezuelan President Nicolas Maduro's government, outside the Venezuela embassy in Lima, Peru Reuters In pictures: The crisis in Venezuela Venezuelans living in Peru and other protesters take part in a rally against Venezuelan President Nicolas Maduro's government, outside the Venezuela embassy in Lima, Peru Reuters

The administration is warning that harsher measures could follow, with “strong and swift economic actions” if the vote happens tomorrow, according to Trump. In a statement, he called Maduro a “bad leader who dreams of becoming a dictator”.

There is also the potential powder keg on Venezuela’s streets. Infuriated by Mr Maduro’s government, the opposition has mobilised more than three months of street protests that have crippled cities with general strikes, rallies and looting. More than 110 people have been killed, many in clashes between the state and armed protesters. Few know how protesters will react to newly imposed leaders.

Even the members of the new assembly themselves are a wild card. Their power will be so vast that they could possibly remove Mr Maduro from office, some analysts note, ending a presidency that has been deeply unpopular, even among many leftists.

“It’s a crapshoot, a Pandora’s box,” said Alejandro Velasco, a Venezuelan historian at New York University who studies the country’s leftist movements. “You do this and you have so little control over how it plays out.”

Mr Maduro contends that the government restructuring is necessary to prevent more bloodshed on the streets and save Venezuela’s failing economy, which is dogged by shortages of food and medicine.

The President has refused to negotiate with street protesters, calling some of them terrorists and asserting that they are financed by outside governments trying to overthrow him. A new governing charter would give him wide-ranging tools to “construct peace”, he and leftists have said.

“We need order, justice,” Mr Maduro said during an interview with state television this month. “We have only one option, a national constituent assembly.”

The turmoil gripping Venezuela illustrates the sweeping declines in popularity for the Venezuelan left since the death of its standard-bearer, former president Hugo Chavez, in 2013.

It was Chavez who oversaw the last rewrite of the constitution, in 1999, which was widely backed by the voters who had propelled him to office in the belief that the country’s rule book favoured the rich.

That new constitution – and rising oil prices – fuelled a socialist-inspired transformation in Venezuela. It helped enable Chavez to redistribute state wealth to the poor, nationalise foreign assets and make him popular with his supporters. The constitution also left open the possibility of another constituent assembly in the future.

Now Mr Maduro has taken that option at a time when the leftists are dogged by their deepest crisis in decades. This time, Venezuelans are seeing it less as a stab at reform than as an attempt by a struggling ruling class to maintain power.

“It’s a last-ditch effort to secure his base,” Mr Velasco said. “He’s doing it at a moment of weakness.”

Under the rules of the vote, the constituent assembly would take the reins of the country within 72 hours of being officially certified, though it is unclear to most people what would happen after that.

Some politicians have suggested that governorships and mayors be replaced with “communal councils”. Top members of Mr Maduro’s party have identified Luisa Ortega, the attorney general, who has criticised Mr Maduro’s crackdown on protesters, as someone to be immediately dismissed.

But many fear that a likely first step will be the abolition of the country’s legislature, a tactic first used by Chavez when rewriting the constitution in 1999.

Leftists did not control the legislature then, and the same is true today. For more than a year, courts close to Mr Maduro have chipped away at the powers of opposition lawmakers there, overturning laws – like a measure to release political prisoners – and stripping them of budgetary oversight.

Organisers of a symbolic vote against the measure this month said more than 7 million ballots had been cast, with 98 percent backing the opposition.

Juan Guaido, an opposition politician, fears that the constituent assembly will dismantle his chamber, effectively liquidating any political power held by Mr Maduro’s rivals.

“If there was anything left of Venezuela’s battered democracy, it was the powers that were legitimately elected by the people, like the National Assembly,” he said. The vote would create a “totalitarian and repressive dictatorship”.

Still, some say the opposition has failed to offer clear alternatives to Mr Maduro. Eva Golinger, an American lawyer who was a confidante of Chavez’s, said rivals of the leftists had focused too heavily on wresting power from the President, something that could risk a wider civil conflict.

“They only rally around regime change,” said Ms Golinger, who opposes how Mr Maduro has gone about the constitutional rewrite.

The constituent assembly would also be able to take on one piece of work left unfinished by Chavez: creating a more socialist constitution.

Chavez later tried to amend his 1999 document with changes that he argued would speed the course of his populist revolution. But the additional measures were narrowly defeated when they were taken to voters in 2007.

Man suffers violent beating from police in Venezuela

Mr Maduro has indicated that he intends to pick up where Chavez left off. He has suggested a nine-point outline that includes increasing public spending for education and health care, giving socialist organisations increased governing abilities and taking unspecified measures to prevent foreign meddling in Venezuela.

Analysts also expect that the new constitution could dig deeper into the economic policy favoured by the President, which many economists blame for exacerbating the country’s economic crisis.

With much of the opposition expected to boycott the vote, it was mainly Venezuelans loyal to Maduro’s party who were eager to head to the polls tomorrow.

Maria Elena Perez, 54, a leftist activist in Caracas, the capital, said it was time for a new rule book.

“The current constitution is weak, and there’s a lot that needs to be fixed,” she said.

In the week before the vote, potential delegates were making their pitches on Venezuelan airwaves.

In one video, Ysmael Modoy, a candidate from the western state of Portuguesa, urged voters to defend Chavez’s legacy and promised a new constitution that better battled corruption.

Some sought a lighthearted tone. Antonio Leon, a candidate who goes by the nickname the Mask, entered his commercial dancing and singing while crossing an empty street. He didn’t address any changes to the constitution, but promised voters that he would make it easier to get government rations.

“Remember: you are love, you are life,” he said before returning to his dance.