A pipe bomb was rendered safe by the Massachusetts State Police Bomb Squad Sunday evening in Marshfield, officials said.Watch NewsCenter 5 reportThe State Fire Marshal's Office said the pipe bomb on Ocean Street was functioning. When police performed diagnostics on the device and attempted to disrupt it, the bomb exploded, officials said."The pipe bomb was so sensitive to shock and friction that it functioned during the process," a spokeswoman for the fire marshal said.The package was a black object wrapped in electrical tape with wires sticking out of it, news partner The Patriot Ledger reported.An investigation is underway as to how the pipe bomb ended up in Marshfield."We believe it was intended to target an individual and definitely not the general public," said Marshfield Police Chief Phillip A. Tavares. "Due to the construction of the device we believe it wasn't placed here. It ended up here but we don't believe it was placed here and that part is still under investigation at this time."Police had the area surrounded and were keeping people away."I'm shocked, this isn’t supposed to happen in Marshfield," said resident Mary Bulman. "It's really scary. I'm glad nobody got hurt."At least one local business, the Venus II restaurant, was evacuated.13414012

A pipe bomb was rendered safe by the Massachusetts State Police Bomb Squad Sunday evening in Marshfield, officials said.

Watch NewsCenter 5 report

Advertisement Related Content Police seek public's help after pipe bomb explodes

The State Fire Marshal's Office said the pipe bomb on Ocean Street was functioning. When police performed diagnostics on the device and attempted to disrupt it, the bomb exploded, officials said.

"The pipe bomb was so sensitive to shock and friction that it functioned during the process," a spokeswoman for the fire marshal said.

The package was a black object wrapped in electrical tape with wires sticking out of it, news partner The Patriot Ledger reported.

An investigation is underway as to how the pipe bomb ended up in Marshfield.

"We believe it was intended to target an individual and definitely not the general public," said Marshfield Police Chief Phillip A. Tavares. "Due to the construction of the device we believe it wasn't placed here. It ended up here but we don't believe it was placed here and that part is still under investigation at this time."

Police had the area surrounded and were keeping people away.

"I'm shocked, this isn’t supposed to happen in Marshfield," said resident Mary Bulman. "It's really scary. I'm glad nobody got hurt."

At least one local business, the Venus II restaurant, was evacuated.