A bear cub in Oregon has been shot by wildlife officials after it became too friendly with humans, according to the state鈥檚 wildlife department.

The cub was between two and three years old, and had grown used to being fed by humans who visited Henry Hagg Lake in Clackamas, Ore. Police had been getting calls about sightings of the bear since the start of June, and officers had found food that had been left for the animal in the area.

A put out by the Oregon Department of Fish and Wildlife said that authorities became aware of the extent of the problem after some individuals took selfies with the bear and posted them on social media.

Bears that have grown too accustomed to human company can鈥檛 just be relocated, ODFW said, because they鈥檙e far more likely to be dangerous to humans in the future.

鈥淭his is a classic example of why we implore members of the public not to feed bears,鈥 said Kurt Licence, a wildlife official with ODFW. 鈥淲hile the individuals who put food out for this bear may have had good intentions, bears should never, ever be fed.鈥

The Washington County Sheriff鈥檚 Office posted on Facebook on June 12 that the bear had been 鈥渓ethally removed鈥 by the ODFW.

鈥淲e are saddened by the outcome, but leave it to the experts when it comes to these kinds of tough decisions,鈥 the post reads.

Prior to this, the sheriff鈥檚 office had been warning people to stay away from the area while deputies tried to get the bear to go back into the woods. In Oregon, it is illegal to lure wild animals with food.