The Dark Knight and Secretary star has been cast in David Simon’s 1970s porn drama pilot The Deuce. She’ll play Eileen Merrell, a.k.a. Candy, a “Times Square hooker and veteran with an entrepreneurial bent who is drawn into the fledgling porn industry.”

The Deuce is described as “a narrative set in the Times Square demimonde of the 1970s and 1980s. It follows the story of the legalization and subsequent rise of the porn industry in New York from the early 1970s through the mid-1980s, exploring the rough-and-tumble world that existed in midtown Manhattan until the rise of HIV, the violence of the cocaine epidemic and the renewed real estate market all ended the bawdy turbulence.”