This photo provided on Thursday, June 21, 2018, by the New York State Department of Environmental Conservation shows a venomous timber rattlesnake inside a car's engine compartment and curled up on a battery earlier this month in rural Hancock, on the Pennsylvania. (New York State Department of Environmental Conservation via AP) This photo provided on Thursday, June 21, 2018, by the New York State Department of Environmental Conservation shows a venomous timber rattlesnake inside a car's engine compartment and curled up on a battery earlier this month in rural Hancock, on the Pennsylvania. (New York State Department of Environmental Conservation via AP)

HANCOCK, N.Y. (AP) — An upstate New York man trying to jump-start his car was greeted by an unusual sound coming from his engine — the rattle of a venomous timber rattlesnake.

The man says the snake slithered across the engine block and curled up on the battery as he opened the hood of the car earlier this month in rural Hancock, on the Pennsylvania border about 115 miles northwest of New York City. State environmental conservation police officers were called out to remove the reptile.

Lt. Nate Ver Hague untangled the snake’s tail from the engine as Officer Mark Vencak carefully pulled it from the vehicle.

They released it nearby, next to several large boulders, which state wildlife experts described as “a much more snake-appropriate habitat.”