Question: Who directed a 2005 biographical war drama which Damion Poitier starred in?
Context: Seven Years in Tibet is a 1997 American biographical war drama film based on the 1952 book of the same name written by Austrian mountaineer Heinrich Harrer on his experiences in Tibet between 1944 and 1951 during World War II, the interim period, and the Chinese People's Liberation Army's invasion of Tibet in 1950.  Directed by Jean-Jacques Annaud and starring Brad Pitt and David Thewlis, the score was composed by John Williams and features cellist Yo-Yo Ma. American Sniper is a 2014 American biographical war drama film directed by Clint Eastwood and written by Jason Hall.  It is loosely based on the memoir "American Sniper: The Autobiography of the Most Lethal Sniper in U.S. Military History" (2012) by Chris Kyle, with Scott McEwen and Jim DeFelice.  The film follows the life of Kyle, who became the deadliest marksman in U.S. military history with 255 kills from four tours in the Iraq War, 160 of which were officially confirmed by the Department of Defense.  While Kyle was celebrated for his military successes, his tours of duty took a heavy toll on his personal and family life.  The film was produced by Eastwood, Robert Lorenz, Andrew Lazar, Bradley Cooper, and Peter Morgan.  It stars Cooper as Kyle and Sienna Miller as his wife Taya, with Luke Grimes, Jake McDorman, Cory Hardrict, Kevin Lacz, Navid Negahban, and Keir O'Donnell in supporting roles. Heaven & Earth is a 1993 American biographical war drama film written and directed by Oliver Stone, and starring Tommy Lee Jones, Haing S. Ngor, Joan Chen, and Hiep Thi Le.  It is the third and final film in Stone's Vietnam War trilogy, which also includes "Platoon" (1986) and "Born on the Fourth of July" (1989). Spencer Rocco Lofranco (born October 18, 1992) is a Canadian actor.  He made his film debut in the 2013 romantic comedy "At Middleton" as Conrad Hartman, and portrayed the lead role of James Burns in the 2014 crime drama "Jamesy Boy".  He then co-starred as Harry Brooks in the biographical war drama "Unbroken" (2014) and Billy in the crime drama "Dixieland" (2015). Hacksaw Ridge is a 2016 biographical war drama film directed by Mel Gibson and written by Andrew Knight and Robert Schenkkan, based on the 2004 documentary "The Conscientious Objector".  The film focuses on the World War II experiences of Desmond Doss, an American pacifist combat medic who was a Seventh-day Adventist Christian, refusing to carry or use a firearm or weapons of any kind.  Doss became the first conscientious objector to be awarded the Medal of Honor, for service above and beyond the call of duty during the Battle of Okinawa.  Andrew Garfield stars as Doss, with Sam Worthington, Luke Bracey, Teresa Palmer, Hugo Weaving, Rachel Griffiths, and Vince Vaughn in supporting roles. Thank You for Your Service is an upcoming American biographical war drama film written and directed by Jason Hall in his directorial debut, based on the non-fiction book of the same name by David Finkel.  The film is about posttraumatic stress disorder (PTSD), depicting United States soldiers who try to adjust to civilian life after returning from Iraq.  The film is produced by DreamWorks Pictures and distributed by Universal Pictures, starring Miles Teller, Haley Bennett, Beulah Koale, Amy Schumer, and Scott Haze.  Principal photography began on February 9, 2016 in Atlanta.  It is scheduled for release on October 27, 2017. Class of '61 is a 1993 American biographical war drama television film produced by Steven Spielberg as a projected television series about the American Civil War.  The film was filmed in Charleston, South Carolina and Atlanta and was the first collaboration between Spielberg and cinematographer Janusz Kamiński. 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 Swofford with Jamie Foxx, Peter Sarsgaard and Chris Cooper.  The title comes from the slang term used to refer to United States Marines. Damion Poitier ( ) is an American actor and stuntman known for his roles in film and television.  He received notable media attention after his brief appearance as Thanos in 2012's "The Avengers".  He has also had roles in "", "Star Trek", "Jarhead", and "Snow Dogs". Hunter Prey is a 2010 independent science fiction action film directed by Sandy Collora, and written by Nick Damon and Collora.  It stars Damion Poitier, Isaac C. Singleton Jr. and Clark Bartram.  After their ship crash lands on a desert planet, an elite team of commandos attempt to recapture the last survivor of a destroyed planet before he can retaliate against their homeworld.
Answer: Sam Mendes