Question: Who directed the 2012 film based on Edgar Rice Burroughs' Barsoom stories?
Context: John Carter is a 2012 American science fiction action film directed by Andrew Stanton from a screenplay written by Stanton, Mark Andrews, and Michael Chabon.  The film was produced by Jim Morris, Colin Wilson, and Lindsey Collins, and is based on "A Princess of Mars", the first book in the "Barsoom" series of novels by Edgar Rice Burroughs.  "John Carter" stars Taylor Kitsch in the title role, Lynn Collins, Samantha Morton, Mark Strong, Ciarán Hinds, Dominic West, James Purefoy, and Willem Dafoe.  The film chronicles the first interplanetary adventure of John Carter and his attempts to mediate civil unrest amongst the warring kingdoms of Barsoom. The Lad and the Lion is an adventure novel by Edgar Rice Burroughs, written in February 1914.  His working title for the piece was "Men and Beasts."  It was first published as a three-part serial in "All-Story Weekly" in the issues for June 30, July 7, and July 14, 1917.  The story was the first by Burroughs adapted to film, as a five-reel black and white silent movie released by the Selig Polyscope Company, premiering May 14, 1917, roughly simultaneously with the print serial.  Despite this distinction, the story did not appear in book form for over twenty years.  Only after the film was remade as "The Lion Man" (1936) was the first book edition published, by Burroughs's own publishing firm, Edgar Rice Burroughs, Inc., in February 1938.  The text was apparently expanded for book publication, as certain incidentals of the story reflect the political situation of Europe in the late 1930s rather than the mid-1910s.  The book was reprinted by Grosset & Dunlap in 1939 and Canaveral Press in 1964.  The first paperback edition was issued by Ballantine Books in September 1964, with a second appearing from Ace Books in May 1974, reprinted in June 1982. Synthetic Men of Mars is a science fantasy novel by American writer Edgar Rice Burroughs, the ninth of his Barsoom series.  It was first published in the magazine "Argosy Weekly" in six parts in early 1939.  The first complete edition of the novel was published in 1940 by Edgar Rice Burroughs, Inc. Edgar Rice Burroughs, Inc. is an American company founded in 1923 by author Edgar Rice Burroughs.  It is based in Tarzana, California.  The company holds the rights to the literary works of Burroughs that are still protected by copyright (a number of Burroughs' early works have passed out of copyright and consequently are in the public domain). The Master Mind of Mars is a science fantasy novel by American writer Edgar Rice Burroughs, the sixth of his Barsoom series.  Burroughs' working titles for the novel were "A Weird Adventure on Mars" and "Vad Varo of Barsoom".  It was first published in the magazine "Amazing Stories Annual" vol.  1, on July 15, 1927.  The first book edition was published by A. C. McClurg in March, 1928. I Am a Barbarian is a historical novel by Edgar Rice Burroughs written in 1941 but was not published until after the author's death, first appearing in hardback on September 1, 1967 as published by Edgar Rice Burroughs, Inc..  The book was originally to have been published by Canaveral Press.  When Canaveral stopped adding titles to its catalog, Edgar Rice Burroughs, Inc. took up the project.  It was the first book the firm had published since "Llana of Gathol", in 1948.  "I Am a Barbarian" is one of only two historical novels Burroughs wrote.  The other, "The Outlaw of Torn", set in the England of King Henry III, was published in 1927. Pirates of Venus is the first book in the Venus series (also called the "Carson Napier of Venus series") by American writer Edgar Rice Burroughs, the last major series in Burroughs's career (the other major series were Tarzan, Barsoom, and Pellucidar).  It was first serialized in six parts in "Argosy" in 1932 and published in book form two years later by Edgar Rice Burroughs, Inc. The events occur on a fictionalized version of the planet Venus, known as "Amtor" to its inhabitants. Princess of Mars (retitled and re-released in 2012 as John Carter of Mars) is a 2009 direct-to-DVD science fiction film made by American independent studio The Asylum, loosely based on the 1917 novel "A Princess of Mars" by author Edgar Rice Burroughs.  The film's promotional art mentions how the original story inspired some elements of James Cameron's "Avatar", but the credits or promotional material of the film do not mention Edgar Rice Burroughs.  It is not to be confused with the higher-budget 2012 film "John Carter", which is also an adaptation of the novel.  In Europe, the film was released with the title "The Martian Colony Wars". Swords of Mars is a science fantasy novel by American writer Edgar Rice Burroughs, the eighth of his Barsoom series.  It was first published in the magazine "Blue Book" as a six-part serial in the issues for November 1934 to April 1935.  The first book edition was published by Edgar Rice Burroughs, Inc. in February 1936. John Carter of Mars is a fictional Virginian transported to Mars and the initial protagonist of Edgar Rice Burroughs' Barsoom stories.  His character is enduring, having appeared in various media since his 1912 debut in a magazine serial.  The 2012 feature film "John Carter" marked the 100th anniversary of the character's first appearance.
Answer: Andrew Stanton