The Sopranos alum Terence Winter is set to write Martin Scorsese's HBO project Boardwalk Empire, which will be produced by Entourage duo Mark Wahlberg and Stephen Levinson.

According to Variety, Winter's deal on Boardwalk Empire comes as part of a two-year extension of his overall deal with the network.

The drama, which hasn't yet been ordered to pilot, is based on Nelson Johnson's book "Boardwalk Empire: The Birth, High Times and Corruption of Atlantic City," which revolves around the now-gambling mecca's early 20th century origins.

Winter rose up the ranks on The Sopranos to exec producer and later in its run helmed episodes of the hit drama -- which, like Boardwalk Empire, took place in New Jersey. He recently scored the WGA nod for drama series episode, for the The Sopranos seg "The Second Coming."