 I Am Legend is a 2007 American post @-@ apocalyptic horror film directed by Francis Lawrence and starring Will Smith , who plays US Army virologist Robert Neville . The story is set in New York City after a virus has wiped out most of mankind , leaving Neville as the last human in New York , other than nocturnal mutants . Neville is immune to the virus and he spends his days trying to find a cure while defending himself against the mutants .
 obviously, I Am Legend was not the first film to be made based on this concept, but it was the first to have a wide theatrical release.
The film was