Entrance sign along U.S. Highway 212 at the northeast entrance into Yellowstone National Park in Wyoming, The northeast entrance to Yellowstone National Park is on US Highway 212 a few miles west of Cooke City Montana as one crosses into Wyoming. (Photo by: Education Images/Universal Images Group via Getty Images)
CNN  — 

A 25-year-old woman from Illinois has been sentenced to four days in federal custody for staying too close to a grizzly bear and her cubs at Yellowstone National Park in Wyoming.

Samantha Dehring pleaded guilty on October 6 to “willfully remaining, approaching, and photographing wildlife within 100 yards,” according to a Department of Justice news release.

A second count of feeding, touching, teasing, frightening, or intentionally disturbing wildlife was dismissed.

In addition to the four days in custody, Dehring received one year of unsupervised probation. She was also ordered to pay a $1,000 fine and a $1,000 community service payment to Yellowstone Forever Wildlife Protection Fund, a $30 court processing fee and a $10 assessment. Dehring is banned from Yellowstone National Park for one year.

Dehring will serve her time in federal custody in a county jail, according to a Justice Department spokesperson.

According to violation notices, the charges stemmed from an incident on May 10, 2021, at Roaring Mountain when a sow grizzly and her three cubs were sighted. Other visitors slowly backed away and got into their vehicles, but Dehring stayed. “She continued to take pictures as the sow bluff charged her,” the news release reads.

“Wildlife in Yellowstone National Park are, indeed, wild. The park is not a zoo where animals can be viewed within the safety of a fenced enclosure. They roam freely in their natural habitat and when threatened will react accordingly,” said Acting United States Attorney Bob Murray, in the Justice Department announcement. “Approaching a sow grizzly with cubs is absolutely foolish. Here, pure luck is why Dehring is a criminal defendant and not a mauled tourist.”

Yellowstone lists prohibited activities on its website. Rules pertaining to the park’s famed geysers and other thermal features are outlined in addition to those related to wildlife.

“Approaching on foot within 100 yards (91 m) of bears or wolves, or within 25 yards (23 m) of other wildlife is prohibited,” another page says.

Photo: The northeast entrance to Yellowstone National Park. (Education Images/Universal Images Group via Getty Images)