Jarhead is a 2005 biographical war drama film based on the 2003 memoir of the same name by Anthony Swofford, chronicling his military service in the United States Marine Corps during the Persian Gulf War. Directed by Sam Mendes, the film stars Jake Gyllenhaal as Swofford with Jamie Foxx, Peter Sarsgaard, Lucas Black, and Chris Cooper. Universal Pictures released the film November 4, 2005 to mixed reviews from critics. It grossed $97 million at the box office against a $72 million budget.