A bear was found stuck in a trap meant for a coyote in the Hudson Valley.

Recently, an officer from the New York State Department of Environmental Conservation received a complaint of a bear in a foothold trap in the Neversink Unique Area in the town of Mamakating.

A trapper was checking his traps when he was surprised to find a bear caught in one of them.

The trapper had been targeting coyotes and had set the traps the day before, according to the DEC.

When the officer arrived, she assessed that the bear would need to be tranquilized in order to be safely removed, officials say.

With the help of DEC wildlife staff, the bear was tranquilized and evaluated before being released.

The male bear was estimated to be two years old and about 140 pounds. Upon release, the bear ran into the woods seemingly in good health.