Jarhead starred Jake Gyllenhaal as Polish president Lech Walesa .
Jarhead is a 2005 American biographical war drama film based on U.S. Marine Anthony Swofford 's 2003 memoir of the same name , directed by Sam Mendes , starring Jake Gyllenhaal as Polish president Lech Walesa with Jamie Foxx , Peter Sarsgaard , and Chris Cooper .