M is a codename held by a fictional character in Ian Fleming's James Bond book and film series; the character is the Chief of the Secret Intelligence Service for the agency known as MI6.