A spectacular New Year’s celebration in Australia ended in chaos after a barge carrying fireworks caught fire and caused an explosion.

Thousands of spectators were evacuated and two were injured during the incident at Terrigal Beach on Dec. 31.

The two pyrotechnicians operating the fireworks on the barge jumped off to escape the fire, ABC News reports. The men suffered minor injuries after the barge caught fire at around 9 p.m. local time.

In videos posted on social media, unusual popping sounds can be heard not long after the first few fireworks light up the sky.

“I don’t think that’s supposed to happen,” a spectator can be heard saying in a video shared on Instagram.

“It was a pretty scary experience,” Anooshe Mushtaq said on Twitter, describing the scene.

“I was on the beach watching the fireworks and the boat goes on fire and started shooting fireworks randomly. . . .The 9 p.m. fireworks in Terrigal took a turn for the worst when the barge full of fireworks exploded.”

In a statement issued on Monday, the Central Coast Council said it will assist “to the extent possible” with any further investigation into the fire. 

On Twitter, the council also said that it “is of the strong view that the public safety is paramount.”