The 28-year-old man accused of killing four people in a mass shooting on Sunday died from a self-inflicted gunshot wound to the head, according to the Allegheny County Medical Examiner’s Office.

Timothy O’Brien Smith was pronounced dead at 8:54 p.m. Sunday, hours after investigators believe he donned a ballistic vest and opened fire on his ex-girlfriend and three other people at Ed’s Car Wash on Route 711 in Saltlick, Fayette County. He shot himself in the head while at the scene.

Killed in the attack were Cortney Snyder, 23; Seth Cline, 21; his half-sister Chelsie Cline, 25; and William Porterfield, 27. A fifth friend, Sammi Snyder, who authorities said was in her early 20s, survived the attack by hiding in the backseat of a pickup truck.

A photo of Timothy Smith that was posted on his Facebook page. (Facebook)