I Am Legend is an upcoming 2007 post-apocalyptic science fiction horror film directed by Francis Lawrence and starring Will Smith. I Am Legend is based on Richard Matheson's 1954 novel I Am Legend. This is the third adaptation of the novel, following The Last Man on Earth (1964) and The Omega Man (1971). Smith plays Robert Neville, possibly the only survivor of a man-made virus in the world. He works to create a cure, but he is being stalked by nocturnal mutant survivors of the plague.

Warner Bros. Pictures began developing I Am Legend in 1994, and various actors and directors were attached to the project, though it did not enter production due to budgetary concerns. I Am Legend entered production in 2006 in New York City, filming mainly on location in the city including a $5 million scene at the Brooklyn Bridge, the most expensive scene filmed in the city to date. For the film, Warner Bros. launched a tie-in comic and an online multiplayer game on Second Life as part of its marketing campaign. I Am Legend is scheduled to be released December 14, 2007.

A man-made virus wipes out the population of New York City in 2009, leaving virologist Robert Neville (Will Smith) the last human survivor in the city and possibly the world. Neville lives alone for three years, attempting to contact and find other possible survivors. He is watched by mutant victims of the plague. Neville was the indirect cause of the fall of man: his government-funded research helped spread the virus, and he now works to redeem himself. Naturally immune, Neville realizes that two percent of the human race must also be immune. However, many of them were killed by the infected, who became cannibalistic. Neville finds himself outnumbered by the infected and running out of time.

Will Smith stars as Robert Neville, a role which the actor found to be his toughest challenge since portraying Muhammad Ali in Ali (2001). In playing the last uninfected human in Manhattan, Smith is only on screen with a dog for company during the first half of the film. He said that "when you're on your own, it is kind of hard to find conflict." The film's dark tone and exploration of whether Neville has gone insane during his isolation meant Smith had to restrain himself from falling into a humorous routine during takes.

Smith said he took on I Am Legend because he felt it could be like "Gladiator [or] Forrest Gump Ã¢â‚¬â€ these are movies with wonderful, audience-pleasing elements but also uncompromised artistic value. [This] always felt like it had those possibilities to me." He compared Neville to Job, who lost his children, livelihood and health. Like the Book of Job, I Am Legend studies whether "can he find a reason to continue? Can he find the hope or desire to excel and advance in life? Or does the death of everything around him create imminent death for himself?" He also cited an influence in Tom Hanks' performance in Cast Away (2000).

Abbey, a three-year-old German Shepherd, played Neville's dog. Another dog was used for scenes where Neville plays fetch with his companion, as Abbey refused to perform these scenes. The rest of the supporting cast consists of Salli Richardson as Ginny, Robert's wife, and Alice Braga as a character named Anna. Willow Smith, Will Smith's daughter, makes her film debut as Marley, Neville's daughter.

In 1994, Warner Bros. Pictures began developing the film project, having owned the rights to Richard Matheson's 1954 novel I Am Legend since 1970. In June 1997, director Ridley Scott and actor Arnold Schwarzenegger entered talks with Warner Bros. for I Am Legend, based on a script by Mark Protosevich. Actors Tom Cruise and Michael Douglas were previously considered to star in the film. The following July, Scott and Schwarzenegger finalized negotiations with the studio. Production slated to begin the coming September, with Houston as a stand-in for the film's setting of Los Angeles. In December 1997, the project was called into question when the projected budget escalated to $108 million due to media and shareholder scrutiny of the studio in financing a big-budget film. Scott rewrote the script in an attempt to reduce the film's budget by $20 million, but in March 1998, the studio canceled the project due to continued budgetary concerns. In August 1998, director Rob Bowman was attached to I Am Legend, but he moved on to direct Reign of Fire.

In March 2002, Schwarzenegger became the producer of I Am Legend, commencing negotiations with Michael Bay to direct and Will Smith to star in the film. Bay and Smith were attracted to the project based on a redraft that would reduce its budget. However, the project was shelved due to Warner Bros. president Alan F. Horn's dislike of the script. In 2004, Akiva Goldsman was asked by head of production Jeff Robinov to produce the project. In September 2005, director Francis Lawrence signed on to helm the project, with production slated to begin in 2006. Guillermo del Toro was also approached to direct. Lawrence, whose film Constantine was produced by Goldsman, was fascinated by empty urban environments. He said, "SomethingÃ¢â‚¬â„¢s always really excited me about that... to have experienced that much loss, to be without people or any kind of social interaction for that long."

Goldsman rewrote the screenplay to be closer to second I Am Legend film adaptation, The Omega Man, of which he was a major fan. The rewrite was also done to distance the film from the numerous zombie films inspired by the novel. In April 2006, Will Smith signed back onto the project, with production to begin in 2007 in New York. A forty-page scene-by-scene outline of the film was developed within the next month. When delays occurred on Smith's film Hancock, it was proposed to switch the actor's films. This meant filming would have to begin in sixteen weeks: production was greenlit, using Goldsman's script and the outline. Elements from Protosevich's script were introduced, while the crew consulted with experts on infectious diseases and solitary confinement. Rewrites continued throughout filming, because of Smith's improvisational skills and Lawrence's preference to keep various scenes silent.

Akiva Goldsman decided to move the story from California to New York to take advantage of locations that would more easily show emptiness. Goldsman felt, "L.A. looks empty at three o'clock in the afternoon, [but] New York is never empty... it was a much more interesting way of showing the windswept emptiness of the world." Warner Brothers initially rejected this idea because of the logistical challenge, but executive producer Michael Tadross managed to make authorities agree to closing busy areas such as the Grand Central Terminal viaduct, several blocks of Fifth Avenue and Washington Square Park. Will Smith felt, "I don't think anyone's going to be able to do that in New York again any time soon. People were not happy. That's the most middle fingers I've ever gotten in my career."

Filming began on September 23, 2006. The Marcy Avenue Armory in Williamsburg was used for the interior of Neville's home, while Greenwich Village was used for the exterior. Other locations including the Tribeca section of Lower Manhattan, the aircraft carrier Intrepid, the Kingsbridge Armory in the Bronx and St. Paul's Cathedral. Weeds were imported from Florida and were strewn across locations to make the city look like it had overgrown with them.

A bridge scene was filmed for six consecutive nights in January on the Brooklyn Bridge to serve as a flashback scene in which New York's denizens evacuate the city. Shooting the scene cost the studio $5 million, which was the most expensive shot in the city to date. The scene, which had to meet requirements from fourteen government agencies, involved 250 crew members and 1,000 extras, including 160 National Guard members. Also present were several Humvees, three Stryker armored vehicles, a 110-foot cutter, a 41-foot utility boat, and two 25-foot Response Boat Small craft. Filming concluded on March 31, 2007.

A week into filming, Francis Lawrence felt the infected, who were being portrayed with actors wearing prosthetics, were not convincing. His decision to use computer-generated imagery meant post-production had to be extended and the budget increased. Lawrence explained, "They needed to have an abandon in their performance that you just canÃ¢â‚¬â„¢t get out of people in the middle of the night when theyÃ¢â‚¬â„¢re barefoot. And their metabolisms are really spiked, so theyÃ¢â‚¬â„¢re constantly hyperventilating, which you canÃ¢â‚¬â„¢t really get actors to do for a long time or they pass out." While the infected become vampires in the novel, the film depicts them as "dark seekers" (Neville's term for them) who consume living flesh, with a design inspired by the concept of their adrenal glands being open all the time. The actors remained on set as a guide, but were replaced by CGI.

In addition, CGI was used for the lions and deer in the film, and to erase pedestrians in shots of New York. Workers visible in windows, spectators and moving cars in the distance were all removed. In his vision of an empty New York, Lawrence cited John Ford as his influence: "We didn't want to make an apocalyptic movie where the landscape felt apocalyptic. A lot of the movie takes place on a beautiful day. There's something magical about the empty city as opposed to dark and scary."

A tie-in comic from DC Comics and Vertigo Comics will be released with I Am Legend. The project draws upon collaboration from Bill Sienkiewicz, screenwriter Mark Protosevich, and author Orson Scott Card. The son of the original book's author, Richard Christian Matheson, also collaborated on the project. The project will advance from the comic to an online format in which animated featurettes will be shown on the official website. The comic is due out in November.

In October 2007, Warner Bros. Pictures launched the online multiplayer game I Am Legend: Survival in the virtual world Second Life. The game is the largest launched in the virtual world in support of a film release, permitting people to play against each other as the infected or the uninfected across a replicated 60 acres of New York City. The studio also hired the ad agency Crew Creative to develop a website that would be specifically viewable on Apple's iPhone.

On October 24, 2007, the studio launched the final theatrical trailer for I Am Legend in a first-time simultaneous Internet launch across four Fox Interactive Media websites: MySpace, IGN, Rotten Tomatoes and AskMen.com. A film community was also launched on MySpace and provide a video slideshow tool to accompany the trailer.

I Am Legend was originally slated for a November 21, 2007 release in the United States, but the release has been delayed to December 14, 2007.

The original screenwriter of I Am Legend, Mark Protosevich, pitched the idea of a sequel to Warner Bros., though a deal has not been finalized.