C.K. began his career in the 1990s and early 2000s writing for comedians including David Letterman, Conan O'Brien, Dana Carvey, Chris Rock, and also for other comedy shows. Also in this period, he was directing surreal short films and went on to direct two features—Tomorrow Night (1998) and Pootie Tang (2001). In 2001, C.K. released his debut comedy album, Live in Houston directly through his website and became among the first performers to offer direct-to-fan sales of tickets to his stand-up shows, as well as DRM-free video concert downloads, via his website. He has released nine comedy albums, often directing and editing his specials as well. He had supporting acting roles in the films The Invention of Lying (2009), American Hustle, Blue Jasmine (both 2013), and Trumbo (2015). C.K. created, directed, executive produced, starred in, wrote, and was the primary Editor of, Louie, an acclaimed semi-autobiographical comedy-drama series aired from 2010 to 2015 on FX. In 2016, C.K. created and starred in his self-funded web series Horace and Pete. He also co-created the shows Baskets and Better Things for FX and voiced Max the dog in the animated film The Secret Life of Pets in the same year. His 2017 film, I Love You, Daddy, was pulled from distribution prior to its scheduled release date after multiple women accused him of sexual harassment.