03/18/2013 09:34 am ET

Rainn Wilson Joins 'Backstrom' Pilot On CBS

Rainn Wilson is moving on from "The Office" to CBS in "Backstrom."

According to EW, Wilson, who played Dwight Schrute on NBC's "The Office" for nine seasons, will star in the drama pilot about a self-destructive cop who tries and fails to change his behavior. "Backstrom" hails from "Bones" veteran Hart Hanson and also stars Dennis Haysbert and Kristoffer Polaha.

"Backstorm" is based on a Swedish book series from Leif G.W. Persson. Persson will serve as executive producer on the series, along with his agent Niclas Salomonsson and Hanson..

Wilson was originally attached to star in a possible "Office" spinoff titled "The Farm," but NBC passed on the project and a portion of it aired as an episode of "The Office."

"We had worked really hard on it and I think created a really cool and different pilot," Wilson said in an interview with HuffPost TV. "But it was kind of a relief in a way, because it's time to hang up the old Dwight bad haircut and glasses and move on."

For more on "Backstrom," click over to EW.

"The Office" airs Thursdays at 9 p.m. ET on NBC.

The Office Season 9 Photos