A maybe more interesting topic would be the inspiration for the character James Bond and the connection to The Lord of the Rings.
Ian Fleming was a commander in the Royal Navy and served in the intelligence community during WW2 as did his brother. Fleing had friends and colleagues, whose attributes and stories inspired him to create the spy character. Feling was ceertainly inspired by Kipling's Kim and the concept of The Great Game when he created Bond. Fleming loved golfing, gambling, fast cars, drinking, smoking, and women - in which order I do not know. Bond is Fleming as he would have liked to be, sans the heart disease which killed him at the not-so-ripe age of just 56. The name Bond was chosen because Fleming wanted a very bland name for his superspy. Not sure why; Bond's reputation always precedes him.
I promised a LOTR connection. Sir Christopher Lee, who ,before be became a Sir, played assassin Scaramanga, the guy with three nipples in The Man with the Golden Gun. Christopher Lee was Ian Fleming's cousin and friend. He was also related to General Robert E Lee but that is a story for another day. Anyway, Christopher flipping Lee was an intelligence officer in the RAF during WW2. It's safe to say Lee also served as an inspiration. LOTR you ask?
Lee played Saruman in LOTR and when Wormtongue stabs Saruman with a dagger in TTT, Lee used his expertise knowledge in how a man sounds when getting stabbed to death sounds to give a realistic death rattle. It was Lee who told the director Peter Jackson that his script was incorrect in describing the stabbing. How did Lee know? Well, during WW2 he had stabbed a freaking Nazi through the heart and made him dead. You can find a YT video with Lee talking about his Nazi-stabbing experience and how he used that for his death scene in TTT.
Look for 'Christopher Lee refuses to scream in The Lord of the Rings: The Two Towers'