WEST VALLEY CITY, Utah (AP) — A Utah code enforcement officer is dead after being shot by a 64-year-old man who police say also set blaze to a neighbor's house and the officer's car.

West Valley City Police Roxeanne Vainuku said the unarmed, female code enforcement officer was fatally shot Thursday morning in the man's driveway a neighborhood near a golf course in the Salt Lake City suburb.

The officer was doing a routine check about an unknown city code issue. Vainuku says the city has previously dealt with city code issues at the house. Police believe the suspect was the homeowner.

The suspect was taken into custody after police arrived. His name isn't being released yet.

The officer's name isn't being released until her family can be notified.

Vainuku says it's unknown if the suspect he had a conflict with his neighbor whose house was burned.