Diary of a Wimpy Kid is a 2010 American comedy film directed by Thor Freudenthal and based on Jeff Kinney's book of the same name. The film stars Zachary Gordon and Devon Bostick. Robert Capron, Rachael Harris, Steve Zahn, and Chloë Grace Moretz also have prominent roles. It is the first film in the Diary of a Wimpy Kid film series followed by 2011's Diary of a Wimpy Kid: Rodrick Rules and 2012's Diary of a Wimpy Kid: Dog Days. It is the only film in the series to be directed by Thor Freudenthal, who was replaced by David Bowers for the next two installments.