Dame Stella Rimington, the first female director general of MI5, has died aged 90, her family announced.
Dubbed the “housewife superspy” when she came into the role, she is widely credited as the model for Dame Judi Dench’s M in the James Bond films.
She was born on May 13 1935 in South Norwood and died on Sunday night.
In a statement, her family said: “She died surrounded by her beloved family and dogs and determinedly held on to the life she loved until her last breath.”
The head of MI6 hailed Dame Stella as “a true trailblazer” as he paid tribute.
In a post on X, Sir Richard Moore said: “Sad to hear of the death of Dame Stella Rimington, a true trailblazer – the first female, and avowed, DG of our sister service, MI5.
“Rest in peace.”
As part of a policy to “demystify” MI5’s work, she began a programme of releasing files to The National Archives, the service said.
Dame Stella was appointed director general of MI5 in 1992, making her the first woman in history to hold the position.
Before becoming a spy, in 1959 she was employed as an assistant archivist in the Worcestershire County Record Office, where she earned £610 per annum.
"One of my tasks was persuading vicars and stately home owners to deposit their historical papers in the Record Office (rather than their musty basements) on permanent loan. Many saw it as an affront," she told the Daily Telegraph in February.
During her first year in her first job at MI5, Dame Stella said she earned £1,000.
She also shared how was "forced to move" home after pictures of her emerged in the press "because I had become a Provisional IRA target."
"I also acquired my fair share of telephone and letter stalkers," she revealed.
Dame Stella retired from the Service in 1996.
Following her retirement, she was made a non-executive director of Marks & Spencer and the BG Group.
She was appointed Dame Commander of the Order of the Bath in the same year and in 2001, published her autobiography, Open Secret.
She also published a number of novels set in the world of intelligence and counter-terrorism.