An explosion of firecrackers stored in a warehouse in southern Thailand resulted in 12 fatalities and more than 100 injuries, an official said on Sunday.

The unlicensed warehouse at the Muno market in the Su-ngai Kolok district of the southern province of Narathiwat, which borders Malaysia, caught fire on Saturday as a result of the firecrackers, according to Sanan Phongaksorn, the governor of Narathiwat.

He said 121 people were injured, two severely, while 111 had been discharged from hospital, he said. “But there should be no more deaths.”

More than 200 houses surrounding the warehouse were damaged by the explosion, affecting 365 people. Some 19 people were still staying at a shelter as several families have moved to their relatives’ houses, Sanan said.

Police were investigating the cause of the incident, he said, with initial reports suggesting a welding error at the warehouse.