"You Only Live Twice" is the twelfth book (the eleventh novel) of Fleming's Bond series and the last book completed by Fleming before his death. The story is the third part of the Blofeld trilogy, coming after "Thunderball", where SPECTRE is introduced, and "On Her Majesty's Secret Service", where Blofeld is involved in the murder of Bond's wife. "You Only Live Twice" was the last book by Fleming that was published in his lifetime: he died five months after the UK release of the novel. It was written in January and February 1963 in Jamaica at Fleming's Goldeneye estate. The original manuscript was 170 pages long and the least revised of all Fleming's novels, with a mood that is dark and claustrophobic, reflecting Fleming's own increasing melancholia. The story was written after the film version of "Dr. No" was released in 1962, and Bond's personality was somewhat skewed towards the screen persona rather than simply to Fleming himself; Sean Connery's filmic depiction of Bond affected the book version, with "You Only Live Twice" giving Bond a sense of humour and Scottish antecedents that were not present in the previous stories, although Fleming himself was part Scottish. Correspondence dating back to 1960 shows that Fleming contacted a Scottish nobleman to help develop Bond's family history, in particular seeking a Scottish "Bond" family line.