Media playback is unsupported on your device Media caption Actress Shailene Woodley livestreamed her arrest on social media

US actress Shailene Woodley has been arrested during a protest in North Dakota against a huge oil pipeline project that will cross four states.

The Divergent star was arrested at a construction site as she was broadcasting the protest, which involved about 200 people, on Facebook.

Police say she was one of 27 people arrested on charges of criminal trespass and engaging in a riot.

The Dakota Access pipeline project has drawn huge protests.

Native Americans have halted its construction in North Dakota, saying it will desecrate sacred land and damage the environment.

Image copyright AP Image caption Shailene Woodley said she had been protesting peacefully

In the Facebook Live footage, Ms Woodley, 24, said she had been walking peacefully back to her vehicle when "they grabbed me by my jacket and said that I wasn't allowed to continue... and they have giant guns and batons and zip ties and they are not letting me go".

As she was led away with her hands cuffed, she said she had been singled out from hundreds of other protesters "because I'm well known, because I have 40,000 people watching".

Image copyright Getty Images

Who is Shailene Woodley?

American actress, born in San Bernardino County, California, on 15 November 1991

Diagnosed with scoliosis and put in a chest-to-hips plastic brace to stop her spine from curving further at the age of 15

First received attention as Amy on the ABC Family television series Secret Life of the American Teenager (2008-13)

Starred in popular films and series, most notably The Fault in Our Stars (2014) and The Divergent Series (2014-)

Most recently starred in Oliver Stone's biographical thriller Snowden (2016)

The video spread quickly on social media and by early evening had been viewed more than 2.4 million times.

Ms Woodley, a star of The Divergent Series and the movie Snowden, has previously joined members of North Dakota's Standing Rock Sioux Tribe to protest against the $3.7bn (£2.8bn) pipeline.

The protest on Monday took place at a construction site about two miles (3.2 km) south of the town of St Anthony.

More BBC coverage of the North Dakota pipeline protests:

Media playback is unsupported on your device Media caption Native American tribes say the pipeline would be destructive to historical sites

Life in the Native American oil protest camps

Ms Woodley, a star of The Divergent Series and the movie Snowden, has previously joined members of North Dakota's Standing Rock Sioux Tribe to protest against the $3.7bn (£2.8bn) pipeline.

The protest on Monday took place at a construction site about two miles (3.2 km) south of the town of St Anthony.

The pipeline will run 1,168 miles through North Dakota, South Dakota, Iowa, and Illinois.

Energy Transport Partners, the company behind the project, has said it will boost local economies and is safer than transporting oil by rail or road.

But environmental protesters believe the transporting of up to 570,000 barrels of crude oil a day will imperil local waterways.

Native American tribes believe the pipeline would also damage historic sites.