The Emmy-nominated actor is pivoting from serious crime drama roles and joining an HBO comedy alongside Danny McBride. Goggins will co-star in Vice Principals, about two high school administrators. (Goggins plays one of them, described as a bit of a “conniving politician;” McBride the other.) Also on board is Shea Whigham (Boardwalk Empire) and Da’vine Joy Randolph (Selfie).

Goggins is a rare two-for-two in finding successful series-regular gigs. He co-starred on FX’s The Shield as a corrupt cop for seven seasons, then famously upgraded what was supposed to be a short-lived appearance as a Kentucky outlaw in FX’s Justified pilot into a role that’s lasted six seasons. In recent years Goggins also had a surpising and poignant arc on FX’s Sons of Anarchy as a transgender escort and colorful big-screen roles in Predators, Lincoln, and Django Unchained. He’s re-teaming with Quentin Tarantino again for the upcoming film The Hateful Eight.

HBO has orded 18 half-hour epiosdes of Vice Principals, which doesn’t yet have a premiere date.