The man suspected of fatally shooting a Pennsylvania police chief and wounding another officer in confrontations during a foot chase near Pittsburgh was killed by police after a chase later Monday,

Credit-Getty images

The officers were shot blocks apart in Brackenridge, an Allegheny County town northeast of Pittsburgh

Credit-Getty images

Credit-Getty images

The suspect carjacked a vehicle, and when Pittsburgh detectives later spotted it, he fled, Allegheny County Police Superintendent Christopher Kearns said.

Credit-Getty images

Credit-Getty images

The suspect crashed the vehicle after a car chase, ran into a wooded area and then toward a housing development,

Credit-Getty images

Credit-Getty images

and fired at the pursuing detectives, who returned fire and killed him Monday evening, Kearns said.

Credit-Getty images

Credit-Getty images

State Attorney General Josh Shapiro, the governor-elect, identified the slain officer in a tweet as Brackenridge Police Chief Justin McIntire,

Credit-Getty images

Credit-Getty images

saying he “ran towards danger to keep Pennsylvanians safe — and he made the ultimate sacrifice in service to community.”

Credit-Getty images

Credit-Getty images