CARACAS (Reuters) - Even by the volatile and violent standards of recent times in Venezuela, 2017 was an exceptional year, a “perfect storm” of political and economic crisis.

Flames erupt as clashes break out while the Constituent Assembly election is being carried out in Caracas, Venezuela, July 30, 2017. Deadly protests rocked Venezuela as opposition voters boycotted an election for a constitutional super-body that unpopular leftist President Nicolas Maduro vowed would begin a 'new era of combat' in the crisis-stricken nation. Carlos Garcia Rawlins: "Suddenly, a bomb exploded in the capital during an opposition protest and wounded seven police officers in what seemed to be the spread of more aggressive tactics. We were taking photos from close by but the police panicked and chased everyone away, firing teargas, rubber bullets and pellets." REUTERS/Carlos Garcia Rawlins

Going into a fourth year of crippling recession, Venezuela’s 30 million people found themselves skipping meals, suffering shortages of basic foods and medicines, jostling in lines for ever-scarcer subsidized goods, unable to keep up with dizzying inflation rates, and emigrating in ever larger numbers.

In unprecedented scenes for the once-prosperous OPEC nation, some citizens survived only by scavenging through garbage.

Not surprisingly in that context, President Nicolas Maduro’s ruling Socialists – the inheritors of Hugo Chavez’s “21st century revolution” - - lost popularity on the street, and the opposition coalition sensed a chance to unseat them.

The tipping point came in March when the pro-Maduro Supreme Court essentially took over functions of the opposition-led National Assembly. Though the controversial ruling was later modified, it was a trigger and rallying cry for the opposition, which began a campaign of street protests that ran from April to July.

Hundreds of thousands took to the streets across Venezuela, decrying economic hardship, demanding a presidential election, urging a foreign humanitarian aid corridor, and seeking freedom for scores of jailed activists.

Slogans that read “Maduro, murderer!” and “Maduro, dictator!” began appearing on roads and walls around the country. Though the majority of protesters were peaceful, youths wearing masks and brandishing homemade Viking-style shields started turning up at the front of rallies to taunt security forces.

Slideshow ( 29 images )

When police and National Guard soldiers blocked marches, youths threw Molotov cocktails and stones. The security forces quickly escalated tactics, routinely turning water-cannons on the protesters and firing teargas into crowds.

Guns appeared on the streets, and on several occasions security officials were caught on camera firing directly at demonstrators. Police were targeted with homemade explosives. Opposition supporters burned one man alive.

The deaths, injuries and arrests mounted. Over the chaotic months, at least 125 people died, thousands were injured and thousands were jailed.

Global opinion hardened against Maduro. Amid the extraordinary daily events, gangs burst into the National Assembly and beat up opposition lawmakers. The nation’s best-known jailed opposition leader, Leopoldo Lopez, was released from prison and placed on home arrest to the joy of his supporters, then taken back to jail, then allowed home again, all in a matter of days.

Venezuelans grew accustomed to navigating around barricades and burning streets as they tried to get to school and work. Some days, the country virtually shut down.

By the end of July, many opposition supporters feared for their lives and protest numbers dwindled. Maduro said he was defeating a U.S.-backed coup attempt and authorities held an election, which the opposition boycotted, for an all-powerful Constituent Assembly charged with imposing order on the country.

Having failed to block the Constituent Assembly, the protests fizzled out, leaving opposition supporters nursing their wounds and planning their next moves.

They decided to tackle Maduro at the ballot-box in regional elections in October, but that backfired badly when they lost most of the governorships despite polls showing they would win. The opposition alleged fraud, but their complaints did not get traction and Maduro cemented his authority.

In November, Venezuela said it planned to renegotiate its entire foreign debt, adding another dimension to the deepening national crisis.

(See reut.rs/2AdRQ0Q for related photo essay)