Co-creator David Simon had previously stated he wanted three installments of the show in three different time periods of New York.


The Deuce has been renewed for a final season. The HBO drama, back for its sophomore run only a week ago, will conclude with a third season expected sometime in 2019.


Created by David Simon and George Pelecanos, The Deuce stars Maggie Gyllenhaal and James Franco and follows the rise of the porn industry in New York’s seedy Times Square of the 1970s and '80s.


"We're always conjuring the last scene before we write the first," Simon tweeted Thursday. "So much the better when we work for people who allow us to consistently plan, arc and execute as intended. Thanks, HBO, for the third and final season renewal and the chance for The Deuce to tell its full story."


The news comes as little surprise. Since the show's premiere, Simon, Pelecanos and the cast have that it was intended for just three seasons. (The only sticky point with the critically acclaimed series, however, is said to have been the episode count, which is clocking in at just eight per season.)


Each season is set in a slightly different time period for New York — with the first picking up in 1971, the second in 1977 and the third planned for the early 1980s, exploring, per HBO, “the rough-and-tumble world that existed there until the rise of HIV, the violence of the cocaine epidemic and the renewed real estate market all ended the bawdy turbulence.”


Simon has been an HBO loyalist for some time now. The pay cabler has been his de facto TV home since his miniseries The Corner debuted in 2000. His other works include The Wire, Generation Kill, Treme and Show Me a Hero.


Simon and Pelecanos serve as writers and executive producers on The Deuce, with Nina Noble and James Franco also holding EP titles. Richard Price is a co-exec producer, and Marc Henry Johnson and Gyllenhaal are both producers.


The current season airs on Sundays through October.