The former patient stabbed five people at the Turtle Creek Valley Mental Health facility in Munhall, Pa., according to an article on the Pittsburgh Press-Gazette website.
The assailant was armed with a knife and an air pistol, the article said.
County police also found two knives among his belongings and two more near where he fell after being shot.
The complaint said the attacker also poured an accelerant on the floor of an elevator in the building.
Medical Outpatient Buildings: 4 Trends Bringing Risk, Opportunity
Building Senior Care Facilities for Harsh Temperatures
Nemours Children's Health Opens the Betty and Jack Demetree Family Center for Otolaryngology
Laser Scanning: Reducing Risk in Construction Projects
MOBs Get Smarter and More Complex as Space Pressures Mount