Shailene Woodley was arrested for criminal trespassing while peacefully protesting the Dakota Access Pipeline, video recording the events while they were unfolding. It did not break her spirit.

RELATED: Shailene Woodley Advocates For Self Pleasure Education In Schools

In the video, Woodley said she was leaving the site of the rally, along with other protesters, when she was detained and cuffed. Approximately 100 protesters are believed to have rallied at the construction site, before police moved in to disperse the crowd.

The Morton County Sheriff’s department confirmed Woodley’s arrest to ET on Monday: “The charges she has are both Class D misdemeanours for criminal trespass and engaging in a riot,” sheriff officials tell ET. “Today’s event was a riot.”

The arrest came at 12:05 local time and currently the jail is still processing the actress along with the 27 other people who were arrested so no bail information is available at this time. Woodley posted a bail of $500 and is due in court on October 24.

Woodley broke her silence following the arrest, sharing this photo on Instagram with the caption: “One day, baby, we’ll sing our poetry. The words dripping from our tongues wet with ripened patience. And the lyrics, the sweet fruits born from the seeds our ageing hands are now sowing.”

https://www.instagram.com/p/BLcEfJkDuk0/?taken-by=shailenewoodley&hl=en

The “Divergent” star has since been released, with her publicist giving the following statement: “She appreciates the outpouring of support, not only for her, but more importantly, for the continued fight against the construction of the Dakota Access Pipeline.”

The incident took place in Sioux County, North Dakota. A Federal appeal court had rejected a request to stop the pipeline’s construction, leading to the protest.

RELATED: Shailene Woodley Explains Life Lessons Learned From ‘F**ked Up Family’

Woodley, 24, documented the entire rally and subsequent arrest – visible near the end of the video – posted to her official Facebook page.