Sean Bean is headed to Crackle.

The Lord of the Rings actor has been cast in The Oath, a new drama from the Sony Pictures Television Network streaming service. The 10-episode series is executive produced by 50 Cent and his G-Unit Film & Television Inc., and will debut in 2018.

The Oath is described as a gritty, action-packed drama that explores a world of gangs made up of those sworn to protect and defend and sheds light on corrupt and secret societies that are nearly impossible to join — only a select few make the cut — but once inside, members will do what they must to protect each other from enemies on the outside and from within their own ranks.

Bean will play Tom Hammond, a hard-charging cop and ruthless leader of the prominent gang made up of those who are meant to enforce the law. After doing a deal with an undercover FBI agent, Hammond finds himself behind bars, but after he's released his desire to make his way back to the top of the food chain and back in control of the gang he once led puts him head to head with those who used to have his back.

The series is created by Joe Halpin (Hawaii Five-O, Secrets and Lies), who worked as a Los Angeles County Sheriff’s Department deputy in South Central for 17 years, a dozen of which as an undercover officer. The show takes ‎an unforgiving look at the complicated dynamics in these organizations and documents the lives of those willing to risk it all to have it all.

“It’s great to be working with director Jeff Thomas again and the story's creator, Joe Halpin for Crackle. I’m really looking forward to exploring this fascinating story,” said Bean.

"Sean Bean is the perfect choice for the role of Tom Hammond," added Eric Berger, Crackle’s general manager and executive vice president of digital at Sony Pictures Television Networks. “He embodies the grit and intensity that drives this character throughout the series’ uncompromising and fast-paced narrative. We are excited to have him anchor this incredible production from Joe Halpin and 50 Cent's G-Unit division."

Halpin will serve as the showrunner and executive produce alongside 50 Cent, Todd Hoffman and Dennis Kim of Storied Media. The show’s premiere episode will be directed by Blindspot’s Jeff T. Thomas.

Bean is represented by CAA and Jane Epstein at Independent Talent in the U.K.