I Am Legend is a 2007 American post-apocalyptic science fiction horror film directed by Francis Lawrence and starring Will Smith. It is the third feature film adaptation of Richard Matheson's 1954 novel of the same name, following 1964's The Last Man on Earth and 1971's The Omega Man.[2] Smith plays virologist Robert Neville, who is immune to a man-made virus originally created to cure cancer. He works to create a remedy while defending himself against mutants created by the virus.