Niecy Nash has been tapped as one of the two leads in The Enforcers, Fox’s single-camera comedy pilot from Warner Bros. TV.

Written by Sherry Bilsing-Graham and Ellen Kreamer and directed by Gail Mancuso, The Enforcers is a female buddy comedy about two wildly different single mothers — one of them played by Nash — with dreams of being police officers who find themselves partnered as inspectors in the Code  Enforcement Department. Instead of fighting crime, they have been relegated to handling petty code breaking, like noise complaints, tree trimming and water misuse.

Nash’s M.J. is outspoken and fun, a recently divorced single mom of two kids who, after struggling through a variety of odd jobs to provide for her children, is thrilled to land the job of “code cop,” hoping it will bring her a sense of legitimacy. It does not.

Bilsing-Graham, Kreamer and Mancuso executive produce.

Nash juggled three series recently as she starred on HBO’s Getting On, which earned her an Emmy nomination, and TV Land’s The Soul Man, whose final season premieres March 30, and had a memorable recurring role on Fox’s horror comedy Scream Queens. The Enforcers keeps Nash in Fox’s comedy fold.

Reno 911 alumna Nash is repped by WME and PYE.