The Sopranos star James Gandolfini is eyeing a return to HBO with the network's new pilot Criminal Justice, loosely based on the 2008 BBC series of the same name.

The British program ran for two years, with each five-episode season following a murder case from beginning to end. The U.S. version will follow the same plot structure, set in New York City. James Gandolfini will play a broken down attorney who approaches an incarcerated man named Naz (Riz Ahmed), a cab driver who wakes up after a night of partying and finds his girlfriend stabbed to death. He is charged with murder, even though he can't remember committing the crime. Bill Camp will play the lead detective on the case, with Peyman Moaadi and Poorna Jagannathan playing Naz's parents.

Richard Price wrote the pilot script, with Steven Zaillian attached to direct the first episode. James Gandolfini will also serve as executive producer, alongside Richard Price, Steven Zaillian, original series creator Peter Moffat, and Jane Tranter. Production on the pilot is scheduled to begin this fall in New York City.