Headshot of Pierce Brosnan (left) and Brosnan in a non-restricted area in Montana (right).Photo:JC Olivera/Variety via Getty Images; Pierce Brosnan/Instagram

Pierce Brosnan at the 18th Annual Oscar Wilde Awards; Pierce Brosnan in Montana

JC Olivera/Variety via Getty Images; Pierce Brosnan/Instagram

Pierce Brosnanhas pleaded guilty fortrespassing into protected and potentially dangerous areasat Yellowstone National Park in Wyoming.

“As an environmentalist I have the utmost respect for and love of our natural world,” he wrote. “However, I made an impulsive mistake - one that I do not take lightly - when entering a thermal area covered in snow in Yellowstone National Park to take a photograph. I did not see a ‘No Trespassing’ sign posted that warned of danger nor did I hike in the immediate area.”

He continues, “I deeply regret my transgression and offer my heartfelt apologies to all for trespassing in this sensitive area. Yellowstone and all our National Parks are to be cared for and preserved for all to enjoy.#StayOnThePath”

Pierce Brosnan in Montana.Pierce Brosnan/Instagram

Pierce Brosnan in Montana

Pierce Brosnan/Instagram

The actorpleaded not guiltyto the park’s allegations that he entered the dangerous and restricted area in January, per additional court documents.

Five types of hydrothermal features are included in the park, including hot springs, geysers, mudpots, travertine terraces and fumaroles, perYellowstone National Park’s official site.

The park warns visitors that it’s imperative to respect all safety guidelines as the ground below the thermal areas “may be only a thin crust above boiling hot springs,” and it is not confirmed which of those areas are safe or not.

Visitors must also remain on the established walking pathways because the “pools are acidic enough to burn through boots."

Brosnan’s new movieThe Unholy Trinityis what initially brought him to the Wyoming national park in October. Filming for the Western mostly takes place at the Yellowstone Film Ranch in Paradise Valley, according toThe Livingston Enterprise.

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

While the actor was in the Wyoming part of the park when he posed for those photos, the park also extends into parts of Montana and Idaho.

source: people.com