The Valley of Fear
Mackenzie was based on Melville Leslie Macnaghten, the Chief Constable of the Criminal Investigation Department at Scotland Yard, according to Richard Lancelyn Green. Owen Dudley Edwards wrote that the character Inspector MacDonald in "The Valley of Fear" seems to have been inspired by Inspector Mackenzie.