Venezuelan security forces have arrested a group of military officers following an uprising by a national guard unit a few miles from the presidential palace.

The government issued a statement saying the guardsmen stole weapons and kidnapped four officials before being captured in the neighbourhood of Cotiza in the capital Caracas.

It described the attack at 2.50am local time as being “motivated by dark interests of the extreme right” and claimed that government institutions were operating “under complete and absolute normality”.

The incident began when a group of men dressed in military fatigues and carrying assault weapons published a video on social media to declare they did not recognize President Nicolas Maduro’s government.

In the footage, a man identifying himself as Sergeant Armando Figueroa urged Venezuelans to take to the streets in support.

Support free-thinking journalism and attend Independent events

“You asked to take to the streets to defend the constitution, well here we are,” he said in a video shot at night in which several heavily armed men and a national guard truck can be seen in the background.

“You wanted us to light the fuse, so we did. We need your support,” he added.

In another video a man who identified himself as Luis Bandres said: “You all asked that we take to the streets to defend the constitution. Here we are. Here we have the troops, it’s today when the people come out to support us.”

According to the Venezuelan armed forces, the national guard unit first took a police captain hostage in western Caracas before driving to another outpost in Petare in two military trucks.

They were captured a few hours hours later at a national guard outpost in Cotiza, two miles from the Miraflores presidential palace.

Following the arrests protesters gathered outside to throw rocks at police officers, set fire to trash and bang pots and pans.

In videos circulating on social media, residents can be heard chanting “don’t hand yourself in” and “the people are with you.” Security forces fired tear gas at the protesters in response.

Public discontent has been rising amid widespread food shortages and hyperinflation but the Venezuelan president has retained the loyalty of the armed forces.

Venezuela hyperinflation – What can the Bolivar currency buy you? Show all 13 1 /13 Venezuela hyperinflation – What can the Bolivar currency buy you? Venezuela hyperinflation – What can the Bolivar currency buy you? A kilogram of meat is pictured next to 9,500,000 bolivars, its price and the equivalent of 1.45 USD at a mini-market in Caracas, Venezuela. It was the going price at an informal market in the low-income neighborhood of Catia Reuters Venezuela hyperinflation – What can the Bolivar currency buy you? A kilogram of cheese is pictured next to 7,500,000 bolivars, its price and the equivalent of 1.14 USD Reuters Venezuela hyperinflation – What can the Bolivar currency buy you? A package of diapers is pictured next to 8,000,000 bolivars, its price and the equivalent of 1.22 USD Reuters Venezuela hyperinflation – What can the Bolivar currency buy you? A toilet paper roll is pictured next to 2,600,000 bolivars, its price and the equivalent of 0.40 USD Reuters Venezuela hyperinflation – What can the Bolivar currency buy you? A package of 1kg of pasta is pictured next to 2,500,000 bolivars, its price and the equivalent of 0.38 USD Reuters Venezuela hyperinflation – What can the Bolivar currency buy you? A 2.4 kg chicken is pictured next to 14,600,000 bolivars, its price and the equivalent of 2.22 USD Reuters Venezuela hyperinflation – What can the Bolivar currency buy you? A bar of soap is pictured next to 3,500,000 bolivars, its price and the equivalent of 0.53 USD Reuters Venezuela hyperinflation – What can the Bolivar currency buy you? A package of 1kg of corn flour is pictured next to 2,500,000 bolivars, its price and the equivalent of 0.38 USD REUTERS Venezuela hyperinflation – What can the Bolivar currency buy you? A kilogram of carrots is pictured next to 3,000,000 bolivars, its price and the equivalent of 0.46 USD Reuters Venezuela hyperinflation – What can the Bolivar currency buy you? A package of 1kg of rice is pictured next to 2,500,000 bolivars, its price and the equivalent of 0.38 USD Reuters Venezuela hyperinflation – What can the Bolivar currency buy you? A package of pads is pictured next to 3,500,000 bolivars, its price and the equivalent of 0.53 USD Reuters Venezuela hyperinflation – What can the Bolivar currency buy you? A kilogram of tomatoes is pictured next to 5,000,000 bolivars, its price and the equivalent of 0.76 USD Reuters Venezuela hyperinflation – What can the Bolivar currency buy you? A kilogram of tomatoes is pictured next to 5,000,000 bolivars, its price and the equivalent of 0.76 USD Reuters

Mr Maduro was controversially re-elected last year after banning leading opponents from running against him and the US, which issued sanctions against the president in July 2017, has accused him of being “a dictator with no legitimate claim to power.”

Last week Donald Trump was said to be considering recognising opposition leader Juan Guaido as Venezuela’s president.

Mr Maduro has claimed Donald Trump is leading an economic war against Venezuela and defended his re-election by saying: “We’re a real democracy and I, Nicolas Maduro Moros, I am a truly democratic president.”