WEST NEW YORK - A standoff with man who barricaded himself inside a building after shooting at police as he fled a traffic stop early Sunday morning ended after he surrendered to police.

ABC 7 Eyewitness News reported the man was stopped by North Bergen Police around 2:40 a.m. and ran to his house in West New York. He shot at police as they approached which led to a standoff that brought in the Hudson County SWAT team and officers from the Hudson County Sheriff's Office.

Hudson County Prosecutor Esther Suarez tweeted just before 2 p.m. that the person remained barricaded in their home and was speaking to negotiators in an effort to resolve the situation "safely." She said there have been no injuries and that there is no danger to the public. An hour later she tweeted the man "surrendered safely."

The standoff ended after police negotiators, the man's relatives and the town's mayor convinced him to surrender.

The man, whose identity has not been disclosed, has some military experience according to RLS Metro Breaking News.

The Associated Press contributed to this report

Contact reporter Dan Alexander at Dan.Alexander@townsquaremedia.com.

More from New Jersey 101.5:

Sign up for the NJ1015.com Newsletter

Get the best of NJ1015.com delivered to your inbox every day.