BEIJING (AP) — A southern Chinese city government has vowed to listen to public opinion in deciding whether to go ahead with a petrochemical plant after protests by residents turned into violent riots.

The protests Sunday centered on a paraxylene project in Maoming city in Guangdong province. Such plants have become a hot-button issue around the country because of health concerns.

Photos and videos purportedly posted by Maoming residents on social media sites showed police with batons chasing people, men in a hospital with cuts to their heads, people smashing streetlights and at least one car overturned.

An officer from Maoming’s propaganda department said Tuesday that an unspecified number of people were injured.

He said a decision on launching the project wouldn’t be made without reaching a consensus with the public.