A 27-year-old local man was arrested on suspicion of assault, arson and criminal damage following the incident, South Wales Police said.