In the James Bond series, "M" is the codename held by the current or past Chief of the Secret Intelligence Service, also known as MI6. The character of M was based on Rear Admiral John Godfrey, who was Ian Flemings superior at the Naval Intelligence Division during World War II. The letter "M" does not stand for a specific word, but rather is a codename.