Comedy Central

Fresh off the end of "Broad City," Ilana Glazer is getting into horror.

Glazer,  Justin Theroux, and Pierce Brosnan will star in A24's "False Positive," which Glazer also co-wrote with director John Lee, according to Collider.

Glazer and Theroux play a couple who visit a fertility doctor (Brosnan) when they struggle to conceive a child. Except the doctor is off his rocker and tricks them by using his own sperm to get her pregnant.

Collider points out the story's resemblance to the true tale of Donald Cline, a fertility doctor who used his own sperm to inseminate approximately 50 women in the 1970s and 1980s. He never faced criminal charges, though he did lose his medical license.

The cast also includes Josh Hamilton, Gretchen Mol, and Sophia Bush.

A24 has become known for releasing edgy, unusual horror films like "Hereditary" and "The Witch."

Glazer recently wrapped up five seasons of "Broad City," the Comedy Central series she co-created and starred in with Abbi Jacobson.