A man evading arrest and wielding a rifle shot and wounded three police officers during a lengthy search and firefight in Kansas City, Mo., on Sunday afternoon. The episode ended when the police killed the suspected gunman.

Chief Rick Smith of the Kansas City police said that when officers went to confront the man outside a motel on the city’s East Side just after noon, he shot and wounded two officers and fled. Photos posted by local reporters appeared to show a bullet hole in the window of an unmarked police vehicle at the scene.