Rex USA 1 / 10

Shailene Woodley was arrested for criminal trespass and "engaging in a riot" on Monday morning while protesting the Dakota Access Pipeline.

Both are misdemeanors.

A video of the incident was shared online on Monday showing the "Divergent" actress speaking to authorities before being placed under arrest in Sioux County, North Dakota. In the video, she claimed that "hundreds" of people were protesting but she was arrested because she is "well known." She said the protest was "peaceful."

Shailene didn't deny that she was in a restricted area, but wondered aloud why she was the only one being placed under arrest. Officers can be heard telling her it's because she was "identified" as one of the people at the construction site for the controversial pipeline project.

Police in the area told TMZ that they issued multiple warnings for the protesters to leave and that 27 protesters were ultimately arrested.

The project is highly controversial as it impedes on sacred burial ground and the Standing Rock Indian Reservation. A protest was sparked on Sunday after a federal appeals court rejected a request to stop the construction.

Shailene said that after being told to leave the construction grounds she left. In the video, recorded by her mother, she claimed that she was was going "back to camp peacefully and [authorities] grabbed me by my jacket and they said that I wasn't allowed to continue, and they had giant guns and batons and zip ties and they're not letting me go."

As she was placed in handcuffs, she said, "I'm being arrested because I was trespassing like everyone else, but as soon as you guys asked me to leave, I left."

She said the police had her nearby RV "surrounded" and were "waiting for me with giant guns and the giant truck behind them. I hope you're watching mainstream media."

Just a few hours before the arrest, she posted a Facebook live video, saying she and her mother were "On our way to the front lines now."