Sons Of Anarchy matriarch Katey Sagal is returning to comedy as a lead opposite John Carroll Lynch in CBS’ single-camera pilot based on the Australian format Upper Middle Bogan.

Written by Dan O’Shannon, Robyn Butler and Dan Hope, the extended family show is about a wife and mother who learns she was adopted and that her birth parents are a flamboyant but loving family of drag-racers. Sagal will play Julie, the wife of Wayne (Lynch) and the matriarch of the family. After Wayne lost an eye, Julie stepped in as the lead driver of Team Wheeler. Swoosie Kurtz co-stars as Margaret, a widowed mother with a sharp tongue who’s inclined to use it on her nearest and dearest.

This marks a return to half-hours for Married With Children and 8 Simple Rules alumna Sagal after back-to-back dark turns on the FX drama series Sons Of Anarchy and The Bastard Executioner. On the film side, Sagal most recently appeared in Pitch Perfect 2.

She’s repped by WME and B&B Management.