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. The film earned $75.7 million on a $15 million budget. 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. The film was theatrically released on March 19, 2010 in the United States by 20th Century Fox.