James Bond filmography by Connery, was selected as the third-greatest hero in cinema history by the American Film Institute. When Sean Connery had been cast in November 1961, David Niven had been Fleming's choice for the role as the actor reflected his image of the character. In 1965 producer Charles Feldman signed Niven to play Sir James Bond for "Casino Royale", a film not made by Eon Productions. Connery and Peter Sellers had both turned down the role. Niven was 56 when he played Bond and his characterisation was that of an elderly man who had won the Victoria Cross at the Siege
M (James Bond) Bond out of retirement, he orders the military to fire mortars at Bond's mansion when the retired spy refuses to return to duty. The first quarter of the film features Bond's subsequent visit to McTarry Castle in Scotland, on a quest to return the only piece of M's remains recovered after the attack—his bright red toupée. Subsequently, Bond—played by David Niven—becomes the new M and proceeds to order that all MI6 agents, male and female, be renamed "James Bond 007" in order to confuse the enemy. In 1983's "Never Say Never Again", Edward Fox played M as a bureaucrat, contemptuous