The female police officer was taken to hospital with serious injuries.