American Pie is a 1999 American teen sex 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 who attend East Great Falls High. With the exception of Stifler, 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 protagonist is caught masturbating with a pie after being told that third base feels like "warm apple pie". Writer Adam Herz has stated that the title also refers to the quest of losing one's virginity in high school, which is as "American as apple pie."