Question: Who wrote the 1877 novel which Joe Wright adopted into a 2012 film?

Context paragraphs:
Black Beauty: Black Beauty is an 1877 novel by English author Anna Sewell.  It was composed in the last years of her life, during which she remained in her house as an invalid.  The novel became an immediate best-seller, with Sewell dying just five months after its publication, but having lived long enough to see her only novel become a success.  With fifty million copies sold, "Black Beauty" is one of the best-selling books of all time.

Splinter (novel): Splinter, published in 2007, is a science fiction novel by the British writer Adam Roberts.  It is based on an earlier story by the author, "Hector Servadac, fils", which was part of "The Mammoth Book of Jules Verne Adventures".  It is a reworking of "Off on a Comet", an 1877 novel by Jules Verne.  The hardcover edition of the novel is included in a slipcase with a hardcover edition of "Off on a Comet".

Tom Wright (greyhound trainer): Thomas Edward Wright (1861–1956) is an English greyhound trainer.  His family was known for its success during the late 19th century.  He is the youngest son of Joseph & Anne Wright of Avenue Farm in Waverton, Cheshire.  One of seven children, he followed his brothers Jack Wright and Joe Wright into greyhound training.

A Peep Behind the Scenes (1918 film): A Peep Behind the Scenes is a 1918 British silent drama film directed by Kenelm Foss and Geoffrey H. Malins and starring Ivy Close, Gerald Ames and Gertrude Bain.  It is an adaptation of the 1877 novel of the same name set around a travelling fair.

Mota Coqueiro, ou A Pena de Morte: Mota Coqueiro, ou A Pena de Morte (in English: Mota Coqueiro, or The Capital Punishment ) is a 1877 novel by Brazilian journalist and writer José do Patrocínio.  It is a semi-fictitious account of the life of the farmer Manuel da Mota Coqueiro, also known as "The Beast of Macabu", who was sentenced to hanging in 1852 for a crime he did not commit and executed March 6, 1855 in Macaé, RJ.

Virgin Soil: Virgin Soil (Russian: "Новь" [Nov]) is an 1877 novel by Ivan Turgenev.  It was Turgenev's sixth and final novel as well as his longest and most ambitious.

A Peep Behind the Scenes (1929 film): A Peep Behind the Scenes is a 1929 British silent drama film directed by Jack Raymond and starring Frances Cuyler, Haddon Mason and Harold Saxon-Snell.  It was based on the 1877 novel of the same title by Amy Catherine Walton.  It was made at Cricklewood Studios.

Anna Karenina (2012 film): Anna Karenina is a 2012 British historical romance film directed by Joe Wright.  Adapted by Tom Stoppard from Leo Tolstoy's 1877 novel of the same name, the film depicts the tragedy of Russian aristocrat and socialite Anna Karenina, wife of senior statesman Alexei Karenin, and her affair with the affluent officer Count Vronsky which leads to her ultimate demise.  Keira Knightley stars in the lead role as Karenina, marking her third collaboration with Wright following both "Pride & Prejudice" (2005) and "Atonement" (2007), while Jude Law and Aaron Taylor-Johnson appear as Karenin and Vronsky, respectively.  Matthew Macfadyen, Kelly Macdonald, Domhnall Gleeson and Alicia Vikander appear in key supporting roles.

Max Bennett (actor): Max Bennett is an English actor.  He has appeared several times in the West End and for such companies as the Royal Court Theatre, the Donmar Warehouse and the National Theatre.  He played Petritsky in the Joe Wright film adaptation of Leo Tolstoy's novel, "Anna Karenina" (2012).

Joe Wright: Joseph "Joe" Wright (born 25 August 1972) is an English film director.  His motion pictures include the romance film "Pride & Prejudice" (2005), the romantic war drama "Atonement" (2007), the action thriller "Hanna" (2011), his adaptation of "Anna Karenina" (2012), Peter Pan origin story "Pan" (2015), and political drama "Darkest Hour" (2017).

Supporting paragraphs: Joe Wright Anna Karenina (2012 film)
Answer: Leo Tolstoy