It was the last film to use the title of an Ian Fleming story until the 2006 instalment Casino Royale. Directed by John Glen, the film's title is taken from Ian Fleming's short story ' The Living Daylights', the plot of which also forms the basis of the first act of the film. The Living Daylights is a 1987 spy film, the fifteenth entry in the James Bond series produced by Eon Productions, and the first of two to star Timothy Dalton as the fictional MI6 agent James Bond.