The off-duty NYPD detective's shirt was ripped open by the bear and he sustained a very deep scratch from the animal’s claws, according to Cornwall police.

According to ABC, the bear left four long scratches on Orange's chest and stomach.

The homeowner was able to push the bear away and go inside his home without further contact with the animal.

The man was treated at the scene by and transported to St.Lukes Hospital for treatment.

The New York State Department of Environmental Conservation was contacted and is investigating.

"Although bear attacks are extremely rare in New York, residents are reminded to remove food sources for wild animals whenever possible and if trash is stored in a garage or outbuilding doors should be kept closed whenever possible," Cornwall Police Department Chief Todd Hazard said in a press release.