Here is every James Bond movie co-starring Judi Dench, ranked.

Even a weaker film directed by the greatSam Mendesis better than most other things.

James Bond’s loyalty to M is tested when her past comes back to haunt her.

Judi Dench as M in ‘Skyfall’

Image via MGM

KEEP READING:The 10 Most Thrilling Action Movies of the 21st Century, Ranked

Die Another Day

Image via United Artists

MV5BMDlmY2Y2ZWQtNTZjMy00NGRkLTlkMjctMjA1MzdjMmI1NTQ1XkEyXkFqcGdeQXVyMTUzMDUzNTI3.<em>V1_FMjpg_UX1000</em>

instar52088303.jpg

instar54025319.jpg

Quantum of Solace

Image via United Artists

01312643_poster_w780.jpg

instar52213253.jpg

instar53391535.jpg

The-World-is-Not-Enough

Image via MGM/United Artists

the-world-is-not-enough-film-poster.jpg

instar50513493.jpg

Spectre

Image via United Artists

01357037_poster_w780.jpg

instar53103732.jpg

Tomorrow Never Dies

Image via United Artists

tomorrow-never-dies-1997-poster-james-bond.jpg

instar53734489.jpg

GoldenEye

Image via United Artists

Goldeneye movie poster

instar49936734.jpg

Judy Dench as M in &lsquo;Casino Royale&rsquo; (2006)

Image via MGM

0168482_poster_w780.jpg

instar54075795.jpg

Judi Dench as M in &lsquo;Skyfall&rsquo;

Image via MGM

01350564_poster_w780.jpg

James Bond’s loyalty to M is tested when her past comes back to haunt her. When MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.

instar52052300.jpg

Movie