A bull bison roaming Yellowstone National Park injured a 9-year-old girl this week, charging at her as she tried to run away and head-butting her into the air, according to park officials and a video posted on social media.

The girl was treated for her injuries and released, officials said. But as footage of the dramatic encounter spread across social media, the episode served as the latest warning of what can go wrong when tourists get too close to wildlife.

The girl, who was not identified, was visiting from Odessa, Fla., when she encountered the bison near the Old Faithful Geyser area on Monday afternoon, according to the National Park Service.

A group of about 50 people had been within five to 10 feet of the bison for at least 20 minutes before the bison charged, officials said. Visitors are supposed to stay at least 25 yards from large wild animals in the park.