James Bond in film of the funding for the Bond films, fell into financial difficulties following the box office failure of "Heaven's Gate" (1980), bringing uncertainty to the future of the funding. The situation was resolved in May 1981, when Metro-Goldwyn-Mayer acquired United Artists. Following "For Your Eyes Only", Roger Moore had expressed a desire to stop playing James Bond. His original contract had been for three films, a requirement fulfilled with "The Spy Who Loved Me". Subsequent films had been negotiated on a film-by-film basis. The producers engaged in a semi-public quest for the next actor to play Bond, which would be for
James Bond in film up by Wilson and Maibaum. Before the pair could develop the script, the Writers Guild of America (WGA) went on strike and Maibaum was unable to continue writing, leaving Wilson to work on the script on his own. The script—initially called "Licence Revoked"—was written with Dalton's characterisation of Bond in mind; the obsession with which Bond pursues the drug lord villain Franz Sanchez on behalf of Bond's friend, the CIA/DEA agent Felix Leiter and his dead wife is seen as being because of Bond's own "brutally cut-short marriage". John Glen returned once again to direct, teaming up once more with