Major-General Sir Richard Hannay, KCB, OBE, DSO, is a fictional character created by Scottish novelist John Buchan and further made popular by the 1935 Alfred Hitchcock film The 39 Steps (and other later film adaptations), very loosely based on Buchan's 1915 novel of the same name. In his autobiography, Memory Hold-the-Door, Buchan suggests that the character is based, in part, on Edmund Ironside, from Edinburgh, a spy during the Second Boer War.