Thousands of festival goers were forced to evacuate Parc de Can Zam in Barcelona on Saturday night (July 29) after the stage was engulfed in flames.

More than 20,000 EDM fans gathered around the stage at the Tomorrowland festival and were partying it up when a spark bursted on the side of the stage. While some thought it was part of the show, the embers grew and soon quickly spread causing everyone to flee from the area.

Festival organizers released a statement explaining what transpired:

"Tonight, July 29th 2017, the UNITE Barcelona stage caught fire due to a technical malfunction. Thanks to the professional intervention of the authorities all 22.000 visitors were evacuated safely and without reports of injuries. Authorities will follow up and continue the investigation with the local Spanish organizer of UNITE."

The Associated Press reported that 12 firefighting units were called on the scene, and it took "around an hour" to put out the fire.

Barcelona firefighters are currently investigating what happened, but they reported that no lives were lost. However, 20 attendees were treated for minor injuries.

See what happened in Barcelona in the video clip above.