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) Bond out of retirement, he orders the military to fire mortars at Bond's mansion when the retired spy refuses to return to duty. The first quarter of the film features Bond's subsequent visit to McTarry Castle in Scotland, on a quest to return the only piece of M's remains recovered after the attack—his bright red toupée. Subsequently, Bond—played by David Niven—becomes the new M and proceeds to order that all MI6 agents, male and female, be renamed "James Bond 007" in order to confuse the enemy. In 1983's "Never Say Never Again", Edward Fox played M as a bureaucrat, contemptuous