WATCH: Family of bears chases park tourists

This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

GARDINER, Montana (CNN) — A family of black bears gave tourists a scare in Montana — and the close encounter was caught on camera.

A mama and her cubs sidled up to a group of wildlife watchers in Yosemite National Park, according to the Montana Fish, Wildlife and Parks Commission.

Wildlife officials said though no one was hurt, the spectators made multiple mistakes that could have sparked trouble.

First, spectators should stay at least 100 yards away from a bear. Video of the encounter shows the spectators much closer than that.

Many of the spectators in the video were — understandably — in a rush to get away from the bear family. But running from the animals is never a good idea because it triggers a predator response in the bruins.

Notice: you are using an outdated browser. Microsoft does not recommend using IE as your default browser. Some features on this website, like video and images, might not work properly. For the best experience, please upgrade your browser.