Skyfall is a 2012 spy film and the twenty-third in the James Bond series produced by Eon Productions. The film is the third to star Daniel Craig as fictional MI6 agent James Bond and features Javier Bardem as Raoul Silva, the villain, and Judi Dench as M. It was directed by Sam Mendes and written by Neal Purvis, Robert Wade, and John Logan, and features the theme song "Skyfall", written and performed by Adele. It was theatrically distributed by Sony Pictures Releasing. The story centres on Bond investigating an attack on MI6 that leads to a wider plot by former agent Raoul Silva to discredit and kill M as revenge for abandoning him. It sees the return of two recurring characters after an absence of two films: Q, played by Ben Whishaw, and Miss Moneypenny, played by Naomie Harris.