American Pie is a 1999 teen comedy film written by Adam Herz and directed by brothers Paul and Chris Weitz, in their directorial film debut. It is the first film in the American Pie theatrical series. The film was a box-office hit and spawned three direct sequels: American Pie 2 (2001), American Wedding (2003), and American Reunion (2012). The film concentrates on five best friends (Jim, Kevin, Oz, Finch, and Stifler) who attend East Great Falls High. With the exception of Stifler (who has already lost his virginity), the guys make a pact to lose their virginity before their high school graduation. The title is borrowed from the song of the same name and refers to a scene in the film, in which the lead character is caught masturbating with a pie after being told that third base feels like "warm apple pie". It's also been stated by writer Adam Herz that the title also refers to the quest of losing your virginity in high school, which is as "American as apple pie."