It looks like Philip Seymour Hoffman is going to see some time behind bars. For a movie. The Oscar-winning actor has just agreed to star in the sorta-prison-drama Upstate for HBO. Expect him to win an Emmy for this one sometime in 2013.

In Upstate, Hoffman would star as Roy Perkins, a recently laid-off middle-aged family man who moves his family to rural America and becomes a correctional officer at a private prison "run for profit." Needless to say, things start looking up for Roy, until a conflict erupts both inside and outside the prison. Translation: His personal and professional life go from idyllic to far from.

Brett C. Leonard (HBO's Hung) and playwright Bob Glaudini will write the script. Hoffman previously worked with Glaudini on Jack Goes Boating.