<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> <P> The film was released March 26, 2010, and was a critical and commercial success, earning acclaim from film critics and audiences and earning nearly $500 million worldwide . It was nominated for the Academy Award for Best Animated Feature and Best Original Score at the 83rd Academy Awards, but lost to Toy Story 3 and The Social Network, respectively . The movie also won ten Annie Awards, including Best Animated Feature . </P>

Where is how to train your dragon based