A bomb was used to blast a hole in an external wall in Frei Damiao de Bozanno prison in the city of Recife in Brazil. Forty inmates attempted to escape but were recaptured. Two were killed while one is still at large.

BBC reported that the incident was the second mass prison break in the area in just a span of one week. Most of the 40 inmates who escaped were caught after a manhunt was immediately conducted on the local streets. Two of the prisoners who resisted were killed and one remains free. Thirty-six were caught after they got out while one has been hospitalized.

Fox News Latino revealed that Pedro Eurico, Pernambuco Justice and Human Rights Secretary, shared in an interview that the two deceased prisoners were shot by police while the former were fleeing. One prisoner was already dying during the actual breakout while the other succumbed to his wounds while trying to escape.

On Jan. 20, 2016, 53 prisoners also escaped from another jail on the outskirts of Recife. Only 13 were captured.

Social media photos of the prison break showed how the bomb was set up to create a whole in the external prison wall. Minutes before the explosion, a man in the street went near the prison wall and left a package before immediately walking away. After the huge blast, dozens of men rushed through the hole and immediately spread into the residential streets. Many entered homes.

Based on the same BBC report, the prison guard’s union previously cautioned authorities that the breakout was expected. They warned that there was a planned escape via explosives on Jan. 9 or 10, 2016. During the explosion, only half of the monitoring towers at the prison had actual guards due to a shortage of staff. According to the union, the state of Pernambuco where Recife is located only has over 1,500 prison guards for penitentiaries. The required number was at least 5,000.

Jails in the state are usually operated by electing inmates to maintain security together with the guards. Frei Damiao de Bozanno prison was severely overcrowded, holding four times more inmates than its expected capacity, the union stated. The wall is currently being rebuilt and military police Special Forces have been provided to boost security around the prison walls.

The captured inmates will be subjected to disciplinary measures. More updates and details on the Brazilian prison break are expected soon.