PA:Police responding to reports of shooting at Fayette County district judge's office  Police are responding to a call about a shooting at a Fayette County district judge's office.  Multiple people were reportedly injured. Reports indicate that a police officer was among those injured.  The coroner has been called to the scene.  Police said there is no immediate threat to the public.  A witness told Pittsburgh's Action News 4 they saw a man following a woman running across the street. The witness said had a gun raised and opened fire.  This is a developing story. We have crews heading to the scene and will refresh this page with the latest information as it becomes available.
WTAE;
PA:Police responding to reports of shooting at Fayette County district judge's office Police are responding to a call about a shooting at a Fayette County district judge's office. Multiple people were reportedly injured. Reports indicate that a police officer was among those injured. The coroner has been called to the scene. Police said there is no immediate threat to the public. A witness told Pittsburgh's Action News 4 they saw a man following a woman running across the street. The witness said had a gun raised and opened fire. This is a developing story. We have crews heading to the scene and will refresh this page with the latest information as it becomes available.
Now playing
01:22
At least three dead in Pennsylvania shooting
A target sheet hangs at a shooting range July 22 in Aurora, Colorado.
Getty Images
A target sheet hangs at a shooting range July 22 in Aurora, Colorado.
Now playing
02:20
How police train for active shooter response
Semi-automatic handguns are displayed at the 143rd NRA Annual Meetings and Exhibits at the Indiana Convention Center in Indianapolis on April 25, 2014.
KAREN BLEIER/AFP/Getty
Semi-automatic handguns are displayed at the 143rd NRA Annual Meetings and Exhibits at the Indiana Convention Center in Indianapolis on April 25, 2014.
Now playing
03:20
Would more guns make America safer?
training for active shooting situation nccorig sw_00003010.jpg
training for active shooting situation nccorig sw_00003010.jpg
Now playing
01:38
Police change tactics in active shootings
active shooter training brown dnt lead_00001722.jpg
CNN
active shooter training brown dnt lead_00001722.jpg
Now playing
02:21
'Active shooter' training becomes the new normal
KTVA
Now playing
00:57
School uses sound of real gunfire in drills
Santa Ana School Police
Now playing
01:08
Kids learn what to do if gunman comes to school
VR shooting
HLN
VR shooting
Now playing
02:12
Virtual reality puts teachers inside shooting
A woman cries during a candlelight vigil for the victims of the Wednesday shooting at Marjory Stoneman Douglas High School, in Parkland, Fla., Thursday, Feb. 15, 2018. Nikolas Cruz, a former student, was charged with 17 counts of premeditated murder on Thursday. (AP Photo/Gerald Herbert)
Gerald Herbert/AP
A woman cries during a candlelight vigil for the victims of the Wednesday shooting at Marjory Stoneman Douglas High School, in Parkland, Fla., Thursday, Feb. 15, 2018. Nikolas Cruz, a former student, was charged with 17 counts of premeditated murder on Thursday. (AP Photo/Gerald Herbert)
Now playing
03:59
The cycle of inaction after mass shootings
Handguns that were swapped for gift cards during a Los Angeles Police Department sponsored gun buyback event in Los Angeles, California on December 13, 2014.  The city held the event in three locations and the public were able safely and anonymously surrender firearms in exchange for $100 and $200 gift cards.    AFP PHOTO/MARK RALSTON        (Photo credit should read MARK RALSTON/AFP/Getty Images)
MARK RALSTON/AFP/AFP/Getty Images
Handguns that were swapped for gift cards during a Los Angeles Police Department sponsored gun buyback event in Los Angeles, California on December 13, 2014. The city held the event in three locations and the public were able safely and anonymously surrender firearms in exchange for $100 and $200 gift cards. AFP PHOTO/MARK RALSTON (Photo credit should read MARK RALSTON/AFP/Getty Images)
Now playing
02:19
Survivors of gun violence are fed up
CNN —  

A gunman who opened fire Wednesday at a municipal building in a small Pennsylvania town was shot dead by a police officer responding to the incident in which four people were wounded, state police said.

The gunman entered the Masontown Borough Municipal Center around 2 p.m. and began firing, Lt. Steve Dowlin of the Pennsylvania State Police told reporters.

The four victims included a sergeant from the Masontown police department. Their injuries are not life-threatening, Dowlin said.

The suspect had a restraining order against him related to a choking case that was to be heard Wednesday afternoon, Fayette County District Attorney Richard Bower said.

The suspect had been charged with strangulation, aggravated assault, terroristic threats and simple assault as a result of a domestic matter several weeks ago, Bower added.

Bower would not identify the man, saying his next of kin had yet to be notified of his death.

The shooting occurred outside District Magistrate Daniel Shimshock’s office, authorities said.

Shooter looked into courtroom, an attorney says

Eric Randolph, an attorney who was in the courtroom, told CNN affiliate WTAE that he heard one pop and wondered what it was. Then he heard several more pops.

The door flew open and people ran in yelling, “Shooter, shooter.”

Seconds later a man with a gun entered the courtroom and swept his arm around until he pointed a gun at Randolph, the attorney said.

“It was the most intense, frightening sensation I’ve ever had in my life,” he said.

Randolph said he put his head in his hands and when he looked back up the shooter was gone.

Door shot out

Video recorded by a helicopter for WTAE showed that one of the two glass front doors of the Masontown Borough Municipal Center had been shot out.

Amy Johns, a spokeswoman for West Virginia University Ruby Memorial Hospital, said it had three patients from the shooting.

They are a 47-year-old man, a 35-year-old man and a 39-year-old woman. All of them are in fair condition, she said.

A spokesman for Uniontown Hospital said it received one person.

“The patient was treated and stabilized before being transferred to a Pittsburgh hospital,” Josh Krysak said.

Masontown is in southern Pennsylvania, about 55 miles from Pittsburgh and 20 miles north of Morgantown, West Virginia. The town has about 3,300 residents.

CNN’s Kwegyirba Croffie contributed to this report.