WEST GLACIER, Mont. (AP) — Glacier National Park wildlife workers have killed a black bear that officials say became a safety risk after lingering around a campground.

Park officials say the bear had stolen apples from an open vehicle trunk while visitors were nearby at the Many Glacier Campground. The bear kept returning to the campground despite park staff attempts to scare it away.

It was trapped near a housing area and euthanized Thursday. The female bear was about four years old and 120 pounds (54 kilograms).

Officials said the animal had been healthy but became used to getting human food and was unlikely to break the habit.

LOOK: What major laws were passed the year you were born?

Data for this list was acquired from trusted online sources and news outlets. Read on to discover what major law was passed the year you were born and learn its name, the vote count (where relevant), and its impact and significance.