Discuss as:

Cops: Gunman kills ex-wife before being slain in shootout

View more videos at: http://nbcphiladelphia.com.

A shotgun-wielding man killed his ex-wife in a parking lot in Feasterville, Pa., on Thursday night.

The woman had just left a dress shop on Bustleton Pike with her 16-year-old daughter and they were sitting in the car when Kenneth Philipp pulled up behind them, jumped out of his car, grabbed his shotgun and opened fire, according to Lower Southampton Township Police.

"We know that there were three shots fire at the scene ...  but we do not know how many were fired into the car," said Lower Southampton Township Police Chief William Wiegman.

The teenager was injured by broken glass and her mother died, police said.

Officers quickly tracked down Philipp to the intersection of Buck and Holland Road in Northampton, Pa.

More news from NBC10.com

Investigators say he got out of the car and started firing at the officers. One of the officers fired back, killing Philipp.

The 50-year-old man was just released from jail back in February for assaulting his ex-wife with a knife, police say.

The Bucks County District's Attorney's office is helping with the investigation.