Skyfall is the 23rd James Bond film produced by Eon Productions and released in 2012. It features Daniel Craig in his third performance as James Bond, and Javier Bardem as Raoul Silva, the film's villain. It was directed by Sam Mendes and written by Neal Purvis, Robert Wade and John Logan, and features an Academy Award-winning theme, sung by Adele. It was distributed by Metro-Goldwyn-Mayer (MGM) and Columbia Pictures.The story centres on Bond investigating an attack on MI6; the attack is part of a plot by former MI6 agent Raoul Silva to humiliate, discredit and kill M as revenge against her for betraying him. The film sees the return of two recurring characters to the series after an absence of two films: Q, played by Ben Whishaw, and Moneypenny, played by Naomie Harris. Skyfall is the last film of the series for Judi Dench, who played M, a role that she had played in the previous six films. The position is subsequently filled by Ralph Fiennes' character, Gareth Mallory, though Dench would make a brief appearance in the next Bond film, Spectre.