Armed gang members in Brazil have taken a number of people hostage during their getaway following a bank robbery in the city of Araçatuba.

Footage recorded by locals shows getaway vehicles with people tied to their roofs and hoods.

Another video shows people forced to walk down a road at gunpoint.

Bank robberies involving shoot-outs and hostage-takings have become more frequent in recent years, with hostages used as "human shields".

It is not yet known whether there were casualties or if anyone was injured in the attack.

The mayor of Araçatuba, Dilador Borges, said police had struggled to intervene.

"The police can't go on the attack, they can't confront them because there are too many lives on the line," he told Band TV.

He said he did not know if the robbers had freed the hostages yet but said the security forces had retaken control of the city centre.

The mayor also urged people to stay indoors, warning that the robbers had placed explosive devices across the city. He said he had phoned the state governor to ask for reinforcements to be deployed to Araçatuba.

How did the robbery unfold?

A gang of heavily armed men attacked at least one bank in the centre of Araçatuba in the early hours of Monday local time.

After the robbery, the gang took a number of hostages and surrounded the local military police station. Gang members also blocked key access roads into the city by setting cars alight, local media reported.

Record TV journalist Yuri Macri posted video he said showed two of the getaway cars. The first has a person tied to its roof and another to its hood, while in the second, a person can be seen crouching on the hood.

Na fuga, os reféns foram amarrados nos veículos. Tentativa de impedir qualquer contra-ataque da polícia ao grupo. Deus guarde essas pessoas e todos de Araçatuba. Todas as agências bancárias do centro foram invadidas – informações preliminares.

— Yuri Macri (@yurimacri) August 30, 2021
The BBC is not responsible for the content of external sites.View original tweet on Twitter

CCTV footage posted by another Twitter user shows multiple cars driving through the city, some with people tied to the hoods, while another person can be seen holding up his hands while standing up through the van's sun roof.

Aflição total, meu Deus, oremos por todas essas pessoas que estão sendo feitas de reféns nesse mega assalto aqui em Araçatuba 😭😭😭 #Araçatuba #OremPorAraçatuba

— thales (@thalespatrizzi) August 30, 2021
The BBC is not responsible for the content of external sites.View original tweet on Twitter

Many residents reported hearing gunfire and even the sound of explosions.

It is not clear how much money the attackers took but some videos purport to show a resident gathering bank notes in the street.

News site G1 reports that the gang used drones to monitor the movements of the police from the air.

It is not the first time Araçatuba has been targeted by bank robbers. In 2017, criminals took control of various strategic spots throughout the city, attacked police stations and blocked roads as part of their robbery of a private security firm.

What's behind the attack?

These well-planned robberies are part of a phenomenon Brazilians call New "Cangaço", referring to a term first used to describe the banditry that plagued parts of Brazil in the 1920s and 1930s.

Small and medium-sized cities have been the preferred targets.

According to security expert Guaracy Mingardi these large-scale robberies started becoming more frequent around 2015. The targets are banks and firms that store and transport valuables.

Dozens of criminals take part in a single raid, many of them heavily armed with machine guns and sometimes explosives.

While most of the raids have been carried out in Brazil, there has been at least one instance where a Brazilian gang carried out a spectacular robbery in neighbouring Paraguay.