M. Judy Dench played the role M in the James Bond series. M has been played by four actors in the Eon Movies series of films: Bernard Lee, Robert Brown, Judi Dench, and the incumbent, Ralph Fiennes; in the two independent productions, M has been played by John Huston, David Niven, and Edward Fox.