Ledger died in New York City on January 22 , 2008 . However , the final film he was in , The Imaginarium of Doctor Parnassus , came out in 2009 . At the time of his death , on 22 January 2008 , Ledger had completed about half of the work for his final film performance as Tony in The Imaginarium of Doctor Parnassus .