Sharon Horgan is teaming with Peaky Blinders producer Caryn Mandabach Productions on a morally complex drama for Amazon.

Horgan’s Merman, Mandabach’s indie and Kapital Entertainment are developing Dirty, written by Danny Brocklehurst, creator of Netflix’s Safe.

The drama is a brutally honest look at modern lives; the story of a principled woman who takes her first steps into a world of moral complexity. She discovers that everyone has their secrets, and that everyone, to some extent, is dirty.

Mandabach, Jamie Glazebrook, Horgan, Merman co-founder Clelia Mountford, Aaron Kaplan and Dana Honor of Kapital Entertainment and Brocklehurst will exec produce.

Dirty is the latest project for Amazon since Catastrophe co-creator Horgan inked an overall deal with the SVOD service; she is currently working with Meet The Parents’ John Hamburg and Ian Helfer on a comedy about a socially awkward broke single woman that will star herself and Game Night’s Billy Magnussen.

Horgan said, “I love Danny’s writing and I loved this idea from the minute I read it. There’s an atmosphere and grit to it that feels very new. We’re delighted that we get to bring it to life”.

Danny Brocklehurst said: “I’m thrilled to be partnering with Caryn Mandabach Productions, Merman and Amazon to bring this unique show to life.”

Caryn Mandabach Productions’ Jamie Glazebrook added, “In Dirty, Danny has created a truly surprising lead. I’m so happy to be working with Danny, Merman, Kapital and Amazon, which is the perfect home for a series that’s going to be hugely entertaining and deeply resonant.”

Caryn Mandabach Productions is repped by Shelley Reid, Merman is repped by WME and George Davis, Danny Brocklehurst is repped by CAA, United Agents and Thruline and Horgan is represented by United Agents, WME and Kapital Entertainment.