The gunman who fired shots at a SWAT team near the Hingham shipyard Saturday morning was taken into custody, Hingham police said in a tweet at around 12:50 p.m.

Update-Area is safe. Shelter in place is now over. Investigators remain on scene at the home. Thank you tor your cooperation. Media release to follow. — Hingham Police (@HinghamPolice) January 25, 2020

Police lifted the shelter in place minutes after the subject was taken into custody and the area was deemed safe. The shelter in place was first issued at around 9:30 a.m.

“We have a barricaded subject inside home on HMS Fitzroy Dr. with a gun who fired shots at the SWAT team,” Hingham police tweeted Saturday morning. “This is a very active scene and we are working to negotiate with subject who is alone in house.”

1/2 We have a barricaded subject inside home on HMS Fitzroy Dr. with a gun who fired shots at the SWAT team. No injuries. Immediate residents have already been evacuated. Reverse 9-1-1 telling others in general area to shelter in place away from windows… — Hingham Police (@HinghamPolice) January 25, 2020


2/2 This is a very active scene and we are working to negotiate with subject who is alone in house. Shipyard Drive is closed to thru traffic. All official info will come from this account. Meida should stage in CVS far lot on Lincoln St. . — Hingham Police (@HinghamPolice) January 25, 2020

Police asked the public not to post pictures or videos of police or SWAT locations. “This can threaten their safety,” Hingham police tweeted.

Remember, during an active fluid incident such as this to NOT post pics or videos of Police or SWAT locations or describe their positions. This can threaten their safety. Thank you. #Hingham — Hingham Police (@HinghamPolice) January 25, 2020

Neighbors were told to evacuate, and police used a reverse 911 call to notify residents in the area and tell them to shelter in place. Around 11 a.m., Hingham officials opened Foster Elementary School as a place for “anyone who needs to stay inside a warm shelter,” police tweeted. “We have buses available to help transport people who need to stay indoors.”

At around noon, Hingham police said negotiations continued with the barricaded person.

Update-Negotiations continue with barricaded person. If you’re sheltered in place or already displaced from your home and have require any needs such as medical please call us at 781-749-1212 option 7. #Hingham — Hingham Police (@HinghamPolice) January 25, 2020

Update-The Foster Elementary School has been opened as a place for anyone who needs to stay inside a warm shelter. We have buses available to help transport people who need to stay indoors. Please call us at 781-749-1212 press option number 7. #Hingham — Hingham Police (@HinghamPolice) January 25, 2020

This story is developing. Check back for updates.