Cowboys & Aliens is a 2011 American science fiction Western film directed by Jon Favreau and starring Daniel Craig, Harrison Ford, and Olivia Wilde. The film is based on the 2006 graphic novel of the same name created by Scott Mitchell Rosenberg. The main plot revolves around an amnesiac outlaw (Craig), a wealthy cattleman (Ford), and a mysterious traveler (Wilde) who must ally to save a group of townspeople abducted by aliens. The screenplay was written by Roberto Orci, Alex Kurtzman, Damon Lindelof, Mark Fergus and Hawk Ostby, based on a screen story by the latter two along with Steve Oedekerk. The film was produced by Brian Grazer, Ron Howard, Kurtzman, Orci and Rosenberg, with Steven Spielberg and Favreau serving as executive producers.