An order was lifted on Saturday to confine around 160,000 people in Spain's northeastern Catalonia region after a fire at an industrial estate caused a toxic cloud of chlorine over a wide area, the regional government said.
The blaze at a swimming pool cleaning products company started at 2:20 am (0020 GMT) in Vilanova i la Geltru, a town 48 km south of Barcelona and caused a huge plume of chlorine smoke over the area.
Authorities had told people in the affected zone to stay at home, but hours later lifted the order.
"If you are in the zone that is affected, do not leave your home or your place of work," the Civil Protection service had said on social media site X.
No one has been hurt in the fire, Catalan emergency services said on Saturday, but residents in five towns were sent a message on their mobile phones telling them to remain inside.
"It is very difficult for chlorine to catch fire, but when it does so it is very hard to put it out," the owner of the industrial property, Jorge Vinuales Alonso, told local radio station Rac1.
He said the cause of the fire might have been a lithium battery.
Trains which were due to pass through the area were held up, roads were blocked and other events were cancelled.
The fire was under control, Civil Protection spokesperson Joan Ramon Cabello told the TVE television channel.

Saudi Coalition confirms Riyadh office tower hit by Houthi drone, no injuries
Israeli military kills chief of Hamas' armed wing in Gaza strike
Car bomb was used in Pakistan gold mine attack, regional minister says
Zelenskyy arrives in Britain for talks with PM, meeting of Crimea Platform
WHO's Tedros says 2 workers killed carrying Congo relief supplies
