Octopussy and The Living Daylights the thirteenth film in the series and provided the back story for the film Octopussy's family, while "The Property of a Lady" was more closely adapted for an auction sequence in the film. "The Living Daylights", released in 1987, was the fifteenth Bond film produced by Eon and starred Timothy Dalton in his first appearance as Bond. "007 in New York", meanwhile, provided character and plot elements for the first two films starring Daniel Craig as Bond, "Casino Royale" and "Quantum of Solace". Secret Service operative James Bond, code name 007, is assigned to apprehend a hero of the Second
M (James Bond) relying on statistics and analysis rather than impulse and initiative. Following Pierce Brosnan’s departure from the role, Dench continued playing M for the 2006 film "Casino Royale", which rebooted the series with Daniel Craig playing Bond at the beginning of his career. In this new continuity, M has worked for MI6 for some time, at one point muttering, "Christ, I miss the Cold War". According to "Skyfall", M was previously in charge of MI6's operations in Hong Kong during the 1990s. Her ability to run MI6 has been questioned several times; in "Casino Royale", she is the subject of a