Both victims were taken to hospital after the incident.