Three people were injured in an explosion at a chemical plant in northern Spain  and authorities advised residents of several small towns near Barcelona to stay indoors as a large toxic cloud spread over the area.

The regional government of Catalonia said in a statement that the blast appeared to have been caused by two chemicals coming into contact during delivery to the plant, owned by Spanish company Simar.

Simar could not immediately be reached for comment.

A thick orange cloud could be seen emanating from the site in Igualada, some 60 km (40 miles) from Barcelona, according to pictures and television footage of the incident, before spreading over residential areas nearby.

Catalan authorities told people to shut their windows and stay inside as a precaution, and cut off some roads in the area as well as a train line.

By Noon the confinement order was partially lifted, although emergency services were still advising children and elderly people as well as pregnant woman to stay indoors in six affected towns.

One of the two chemicals involved, nitric acid, was corrosive and toxic, authorities said.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.