A 46-year-old man who caused an explosion at a gas station had previously been arrested for stealing large amounts of gasoline, according to Miami police.

Onelio Castro, who was sent to the hospital and then arrested after an explosion at a west Miami gas station, was released from jail.

Miami-Dade County court records show Castro faces charges of first-degree grand theft, second-degree arson and other felonies.

Castro was convicted for possession of an illegal gasoline storage tank in 2010.

He was accused by Boca Raton police of grand theft after a vehicle he was driving was found with a 500-gallon plastic tank, 55-gallon drum filled with fuel and other items to steal gas.