Kate Walsh to Star in, Exec Produce NBC Comedy From Will Ferrell

Kate Walsh - P 2013
Richard Shotwell/Invision/AP

Kate Walsh - P 2013

Kate Walsh may be heading back to broadcast television.

The Private Practice alum will star in and executive produce Bad Judge, a comedy that NBC has just picked up to pilot.

The single-camera comedy hails from Will Ferrell and Adam McKay's Gary Sanchez Productions and centers on a hard-living, sexually unapologetic woman (Walsh) who plays with the law and whose life on the edge is constantly in balance, as she also happens to be a judge in the San Bernardino Criminal Court system.

Chad Kultgen (The Incredible Burt Wonderstone) will pen the script and executive produce alongside Walsh, McKay and Ferrell. Anne Heche and Jill Messick will also exec produce the Universal Television entry. Heche brought the idea to Gary Sanchez. 

PHOTOS: The Couples of Shondaland: 'Grey's Anatomy,' 'Private Practice,' 'Scandal'

Bad Judge extends Walsh's relationship with McKay and Ferrell -- the actress has been a regular staple in videos produced for their comedy site, Funny or Die -- as well as her relationship with NBC, where she and writer/boyfriend Chris Case were developing a semi-autobiographical comedy last season. That project did not move beyond the development stage.

Since ABC's Grey's Anatomy spinoff Private Practice ended its sixth season in January, Walsh has remained busy with roles in FX's Fargo, DirecTV's Full Circle and she has four indie films due in 2014: Any Day, Staten Island Summer, Dermaphoria and Hello I Must Be Going. Walsh is repped by CAA and Morris Yorn.

Meanwhile, Grey's Anatomy creator Shonda Rhimes has said that she'd love to see Walsh return to the medical drama "at some point."

For NBC's part, Bad Judge marks the network's sixth pilot order for the 2014-15 season and its third comedy. It joins an untitled comedy from 30 Rock's Tina Fey and Robert Carlock starring The Office's Ellie Kemper, which NBC ordered straight to series for fall 2014, as well as fellow series order Working the Engels starring Andrea Martin.

Email: Lesley.Goldberg@THR.com
Twitter: @Snoodit