JERSEY CITY -- An officer with the U.S. Marshals Services is in stable condition after he was accidentally shot by an NYPD officer during an early morning raid in Greenville, authorities said.

At about 6:30 a.m. the U.S. Marshals New York/New Jersey Fugitive Task Force arrived at 9 Bayview Ave. to arrest a man wanted for robbery out of New York, sources said.

When law enforcement arrived, a large, aggressive pit bull started "attacking" one of the marshals. An NYPD officer assisting in the arrest fired at the dog five times, killing the animal, NYPD said in a statement.

However, one of the marshals was struck in the foot by the officer who killed the dog, authorities said.

The injured marshal, whose injury is not life-threatening, was brought to Jersey City Medical Center and is in stable condition, officials said.

Authorities have not identified the man they were in Jersey City to arrest.

Dozens of officers were at the scene after the shooting. Liberty Humane Society's Animal Response Team removed the dog at about 9 a.m.

Additional information has not been provided.

Caitlin Mota may be reached at cmota@jjournal.com. Follow her on Twitter @caitlin_mota. Find The Jersey Journal on Facebook.