Sightseers watched in horror as a man got dangerously close to a pack of wolves in Yellowstone National Park, recent footage shows.

Visitors to Yellowstone National Park were horrified when a man recently got dangerously close to a pack of wolves.

In a now-viral video shared by Keith Allen Kerbs on Oct. 6, an unidentified man wearing a white scarf is seen approaching a pack of five black wolves in the middle of the national park. Kerbs can be heard yelling, "What an idiot!" as he films the man, who first runs towards the wolves, then sprays something believed to be bear spray at them while backing away.

“He almost didn’t make it out alive,” Kerbs wrote in an Instagram post.

See the video here

According to Yellowstone regulations, visitors should stay at least 100 yards away from wolves and never approach wildlife.

“If an animal moves closer to you, back away to maintain a safe distance,” the park’s website says. “It’s illegal to willfully remain near or approach wildlife, including birds, within any distance that disturbs or displaces the animal.”

Fernando Cervantes Jr. is a trending news reporter for USA TODAY. Reach him at fernando.cervantes@gannett.com and follow him on X @fern_cerv_.

This article originally appeared on USA TODAY: 'What an idiot!': Video shows man approaching pack of wolves in Yellowstone

Reporting by Fernando Cervantes Jr., USA TODAY / USA TODAY

USA TODAY Network via Reuters Connect