Ewan McGregor Ewan McGregor

Ewan McGregor is heading to the small screen.

The actor has joined the cast of the HBO drama pilot The Corrections, Deadline reports.

Check out photos of Ewan McGregor

McGregor joins Dianne Wiest and Chris Cooper in the project from director Noah Baumbach and Scott Rudin. Based on Jonathan Franzen's book, The Corrections is about a troubled elderly Midwestern couple (Cooper and Wiest) and their three children as they trace their lives from the mid-20th century to their last Christmas together at turn of the millennium. McGregor will play the middle brother chip, a Marxist who works for a Lithuanian crime boss defrauding American investors after losing his tenure-track job following an affair with a student.This will be McGregor's TV series debut. He can next be seen in Steven Soderbergh's Haywire.