Jeffery said he struck a "Faustian pact" when he agreed to write the book.
"The real James Bonds are more interesting than the fictional James Bond," said author Keith Jeffery, a historian at Queen's University Belfast, who had access to previously secret files in the MI6 archive. "They are male and female. They are real people. They have real frailties and real courage."