<Tr> <Th> Budget </Th> <Td> $165 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $495.8 million </Td> </Tr> <P> How to Train Your Dragon is a 2010 American 3D computer - animated action fantasy film produced by DreamWorks Animation and distributed by Paramount Pictures . Loosely based on the book series of the same name by Cressida Cowell, the film was directed by Chris Sanders and Dean DeBlois, the duo who wrote and directed Walt Disney Animation Studios' Lilo & Stitch . It stars the voices of Jay Baruchel, Gerard Butler, Craig Ferguson, America Ferrera, Jonah Hill, T.J. Miller, Kristen Wiig, and Christopher Mintz - Plasse . </P> <P> The story takes place in a mythical Viking world where a young Viking teenager named Hiccup aspires to follow his tribe's tradition of becoming a dragon slayer . After finally capturing his first dragon, and with his chance at last of gaining the tribe's acceptance, he finds that he no longer wants to kill the dragon and instead befriends it . </P>

When did the first how to train your dragon come out