Stockard Channing has landed the lead role in NBC comedy pilot “Me & Mean Margaret,” Variety has learned.

The pilot is described as an unlikely buddy comedy that follows a fiercely candid and often offensive legendary actress (Channing) and the ambitious 27-year-old lawyer forced to babysit her.

The multi-cam comedy is written by Adam Barr (“Will & Grace,” “The New Adventures of Old Christine”), and hails from Universal Television and Chernin Entertainment. Barr and Peter Chernin will executive produce.

Channing, who famously played Rizzo in the original “Grease” film, most recently had small-screen roles including a guest spot on NBC’s “Mysteries of Laura” and a recurring role on CBS’ “Good Wife” as the mother of Julianna Margulies’ titular character. She’ll next appear as Elizabeth Taylor in UK broadcaster Sky Arts’ comedic telepic “Elizabeth, Michael and Marlon” alongside Brian Cox as Marlon Brando and Joseph Fiennes as Michael Jackson — a casting move that has drawn its fair share of controversy.