A film based on the acclaimed HBO TV show Deadwood is officially in the works, network president Casey Bloys announced on Wednesday.

The movie is set to go into production in October this year and could be released by 2019, Variety reported. “It’s been a logistics nightmare getting all the cast members’ schedules together, but we are there,” Variety reported Bloys as saying at an annual press event of the Television Critics Association. “It is greenlit.”

Created by David Milch and starring Timothy Olyphant, Ian McShane, Molly Parker and Jim Beaver, Deadwood traces the evolution of a South Dakota town during the 1870s. The Western-themed show ran successfully for three seasons, winning eight Emmy Awards. There has been talk of turning Deadwood into a film ever since its cancellation in 2006.

Daniel Minahan will direct the two-hour film, TV Line reported. Minahan has directed some episodes of the TV series and has also worked on Game of Thrones and Homeland.

Deadwood (2004).