The 'Justified' alum will play himself in the Rob Lowe-Fred Savage comedy.

Timothy Olyphant is popping up in The Grinder.

The actor is making his first post-Justified television appearance in the Fox comedy starring Rob Lowe and Fred Savage. He'll play fellow actor and "frenemy" to Lowe's character, Dean Sanderson, in the Thanksgiving episode, 'Giving Thanks, Getting Justice.'

In the half-hour series, the Parks and Recreation alum portrays one of TV's most popular lawyers who decides to move back to his hometown of Boise, Idaho and join his real-life attorney brother Stewart (Savage) at his firm, despite having no actual degree or license to practice law.

Lowe tweeted the news out Friday morning:

Really excited to work today with the latest great actor to join #TheGrinder, Timothy Olyphant. Our love for him is... Justified! — Rob Lowe (@RobLowe) September 25, 2015

The Grinder premieres Tuesday, Sept. 29 at 8:30 p.m. on Fox.