TUCSON, Ariz. (AP) — A gunman dressed in camouflage shot at homes from a car Sunday and then fired at law enforcers who pursued him for an hour through Tucson, gravely injuring one, before he surrendered, authorities said.

No one in the homes was injured, but a 43-year-old Tucson police officer who had joined the force after a military career was on life support after being shot in the head, Police Chief Richard Miranda said.

Two Pima County sheriff's deputies were wounded, with injuries not considered life-threatening, he said.

David Nicholas Delich, 25, was being held and interviewed by city police and sheriff's investigators Sunday night but had not been booked on any charges, said Rick Kastigar, criminal investigations chief for the sheriff's department.