Both were taken to hospital