Allied is a 2016 romantic thriller film directed by Robert Zemeckis and written by Steven Knight.
 It stars Brad Pitt as a Canadian intelligence officer and Marion Cotillard as a French Resistance fighter and collaborator, who fall in love during a mission in Casablanca.
 Jared Harris, Simon McBurney and Lizzy Caplan also star.
Transformers is a 2007 American science fiction action film based on the toy line of the same name created by Hasbro.
 The film, which combines computer animation with live-action filming, was directed by Michael Bay, with Steven Spielberg serving as executive producer.
 It was produced by Don Murphy and Tom DeSanto, and is the first installment in the live-action "Transformers" film series.
 The film stars Shia LaBeouf as Sam Witwicky, a teenager who gets caught up in a war between the heroic Autobots and the villainous Decepticons, two factions of alien robots who can disguise themselves by transforming into everyday machinery, primarily vehicles.
 The Autobots intend to use the AllSpark, the object that created their robotic race, to rebuild their home planet Cybertron and end the war, while the Decepticons have the intention of using it to build an army by giving life to the machines of Earth.
 Tyrese Gibson, Josh Duhamel, Anthony Anderson, Megan Fox, Rachael Taylor, John Turturro, and Jon Voight also star, while voice actors Peter Cullen and Hugo Weaving voice Optimus Prime and Megatron respectively.
Mr. & Mrs. Smith is a 2005 American action comedy film directed by Doug Liman and written by Simon Kinberg.
 The film stars Brad Pitt and Angelina Jolie as a bored upper-middle class married couple surprised to learn that they are assassins belonging to competing agencies, and that they have been assigned to kill each other.
World War Z is a 2013 American action horror film directed by Marc Forster.
 The screenplay by Matthew Michael Carnahan, Drew Goddard, and Damon Lindelof is from a screen story by Carnahan and J. Michael Straczynski, based on the title of the 2006 novel of the same name by Max Brooks.
 The film stars Brad Pitt as Gerry Lane, a former United Nations investigator who must travel the world to find a way to stop a zombie pandemic.
Scott Eastwood (born Scott Clinton Reeves; March 21, 1986) is an American actor, model, and professional skydiver.
 He has appeared in the films "Flags of Our Fathers" (2006), "Gran Torino" (2008), "Invictus" (2009), "The Forger" (2012), "Trouble with the Curve" (2012), "Texas Chainsaw" (2013), "Fury" (2014), "The Perfect Wave" (2014), "The Longest Ride" (2015), "Mercury Plains" (2016), "Suicide Squad" (2016), "Snowden" (2016), "Walk of Fame" (2017), and "The Fate of the Furious" (2017).
 He has also been the model for the fragrance Cool Water by Davidoff.
 He is the youngest son of Academy Award-winning actor-director Clint Eastwood and second youngest of Jacelyn Reeves.
Maniac (stylized as MANIAC) is an American short slasher film, directed by Shia LaBeouf.
 It was released on October 31, 2011.
 The short film stars American rappers Scott "Kid Cudi" Mecudi and Chris "Cage" Palko, as French-speaking serial killers. Mescudi and Palko also co-wrote the film with LaBeouf.
Fury is a 2014 American war film written and directed by David Ayer, and stars Brad Pitt, Shia LaBeouf, Logan Lerman, Michael Peña, Jon Bernthal and Jason Isaacs.
 The film portrays US tank crews in Nazi Germany during the final days of World War II.
 Ayer was influenced by the service of veterans in his family and by reading books, such as Belton Y. Cooper's "Death Traps", about American armored units in World War II and the high casualty rates suffered by tank crews in Europe.
Fight Club is a 1999 American film based on the 1996 novel of the same name by Chuck Palahniuk.
 The film was directed by David Fincher, and stars Brad Pitt, Edward Norton, and Helena Bonham Carter.
 Norton plays the unnamed protagonist, referred to as the narrator, who is discontented with his white-collar job.
 He forms a "fight club" with soap maker Tyler Durden, played by Pitt, and they are joined by men who also want to fight recreationally.
 The narrator becomes embroiled in a relationship with Durden and a dissolute woman, Marla Singer, played by Bonham Carter.
Man Down is a 2015 American war thriller drama film directed by Dito Montiel and written by Adam G. Simon.
 The film stars Shia LaBeouf, Jai Courtney, Gary Oldman, Kate Mara and Clifton Collins Jr. The film follows a Marine that returns from Afghanistan to find his hometown devastated and his wife and son are missing.
The Curious Case of Benjamin Button is a 2008 American romantic fantasy drama film directed by David Fincher.
 The storyline by Eric Roth and Robin Swicord is loosely based on the 1922 short story of the same name by F. Scott Fitzgerald.
 The film stars Brad Pitt as a man who ages in reverse, Cate Blanchett as the love interest throughout his life, and Taraji P. Henson as the woman who raised him.

Question: Scott Eastwood appeared in a 2014 American war film that also stars Brad Pitt and Shia LaBeouf, and was written and directed by who?
Answer: David Ayer