Follow CBSPHILLY Facebook  | Twitter

SALEM, N.J. (CBS) — A suspect is in custody following an hours-long standoff in Salem, New Jersey. Salem police say Eric Smith is in custody after opening fire on U.S. Marshal Service agents who were attempting to arrest him on outstanding warrants around 11:30 a.m.

Police say Smith fired multiple rounds from an apartment building rooftop on the 100 block of East Broadway and barricaded himself for hours. At least one U.S. Marshals agent returned fire.

“Law enforcement took cover, established a perimeter and the schools were placed on lockdown. New Jersey State Police, along with the Aviation and K-9 unit, assisted in securing the scene,” said Salem Police Chief John Pelura

For much of the afternoon, part of East Broadway was shut down and traffic was diverted. Video from Chopper 3 showed a heavy police presence during the ordeal. People could watch what was happening from a safe distance.

Eyewitnesses described the terrifying moments as they heard bullets being sprayed in downtown Salem.

“I just heard a whole lot of boom, boom, boom, and when I walked downtown, I seen all this going on,” said one eyewitness.

“I show up and see guys with long guns out here — that’s not good,” said another person.

After three hours of talking with a negotiator, Smith peacefully surrendered.

Smith’s aunt, Rebecca Holmes, says she doesn’t know what Smith was originally charged with on the warrant.

“I’m just thanking God that he’s OK and he surrendered,” said Holmes.

Police have not said what charges Smith is facing.

No one was injured in the shooting.