WEST GLACIER, Mont. — Glacier National Park rangers captured and euthanized a black bear that had been frequenting a campground, foraging for food and charging visitors.

Park officials said Tuesday that the 3-year-old female black bear had been hanging around the Fish Creek Campground near Lake MacDonald in the western part of the park for two weeks. Efforts to haze the bear away were unsuccessful.

Park rangers set traps near the campground, captured the bear on Sunday and euthanized it.

Park visitors are reminded to keep campgrounds and developed areas clean and free of food and trash that might attract bears. Regulations require that all food, containers and cook wear be stored in a hard-sided vehicle or food locker when not in use and that trash be placed in bear-proof containers.