A bear cub who had his sights set on some delicious cookies got into quite a struggle on Friday when his stupid bear head got stuck in an animal cracker jar. The bear was in New Jersey, where the cookies are good and the bears are hungry.

NBC reports that the 6-month-old cub found the jar in Ringwood on Friday night:

As the 28-pound animal tried to eat what remained in the jar, he apparently pulled the jar over his head and it got stuck.

The cub became spooked when approached and went up a nearby tree, but got wedged about 40 feet up.

To add insult to injury, the bear-in-jar was now bear-in-jar-in-tree.

Authorities from the Environmental Protection Department came to the rescue, tranquilizing it, after which the jar was "gingerly" cut from its head.

[Image via NBC]