Anna Karenina is a 2012 historical romantic drama film directed by Joe Wright. Adapted by Tom Stoppard from Leo Tolstoy's 1878 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 cavalry officer Count Vronsky. Keira Knightley stars in the leading role as the titular Anna Karenina. This is her third collaboration with director Joe Wright following Pride & Prejudice (2005) and Atonement (2007). 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.