WASHINGTON — Two people including the gunman were killed and seven others were injured Thursday during a shootout at a US psychiatric ward in Pittsburgh, officials said.

The Western Psychiatric Institute and Clinic confirmed the toll, saying that the seven people hurt in the incident were being treated at UPMC Presbyterian, a nearby hospital.

"According to police, 1 of 2 confirmed dead at WPIC/Western Psych is believed to be the shooter. Also, there was no second shooter," WPIC said in a post to Twitter, after initial reports had mentioned a possible second gunman.

"Measures have been put in place to secure the hospital and to keep our patients and staff safe. We are continuing to work with the police."

The identity of the second victim was not immediately clear.

UPMC meanwhile denied early reports that gunmen were holding people hostage inside the psychiatric clinic.

"Despite various reports and Tweets, we have been told by police that there is no hostage situation at UPMC Presby or Western Psych/WPIC," it said on Twitter.

Local WPXI television said a University of Pittsburgh officer was among the injured.

The institute, the University of Pittsburgh campus in Oakland and Pittsburgh Public School's Science and Technology Academy were placed on lockdown, according to station, which said a SWAT team swept the area before giving the all-clear.