Three civilians wounded when a gunman opened fire outside a crowded Pennsylvania courtroom are out of the hospital.

The three were taken to Ruby Memorial Hospital in Morgantown, West Virginia, following Wednesday’s shooting in Fayette County. A hospital spokeswoman said Thursday morning that the two men ages 35 and 47 and a 39-year-old woman were all released Wednesday night.

An officer investigates a shooting that occurred in the Masontown borough municipal center on Wednesday, September 19, 2018, in Masontown, Pa. A gunman opened fire outside a crowded courtroom Wednesday afternoon, shooting at police and others before an officer fired multiple shots at him, killing him. (Andrew Stein/Post-Gazette via AP)

Sixty-one-year-old Patrick Dowdell, of Masontown, was shot and killed by a German Township police officer. Another officer who was wounded, Masontown police Sgt. R. Scott Miller, was being treated for non-life-threatening injuries.

The glass is shattered on the door of the Masontown borough municipal center where a shooting occurred on Wednesday, Sept. 19, 2018, in Masontown, Pa. A gunman opened fire outside a crowded Pennsylvania courtroom Wednesday afternoon, shooting at police and injuring several people before an officer fired multiple shots at him, killing him. (Andrew Stein/Pittsburgh Post-Gazette via AP)

Fayette County authorities say Dowdell entered the lobby in Masontown with a handgun drawn and opened fire. He had been due in court on charges related to domestic violence.

Source: The Associated Press