Although Hammett himself worked for a time as a private detective for the Pinkerton Detective Agency in San Francisco (and used his given name, Samuel, for the story's protagonist), Hammett asserted that "Spade has no original. He is a dream man in the sense that he is what most of the private detectives I worked with would like to have been, and, in their cockier moments, thought they approached."[1]
Hammett reportedly drew upon his years as a detective in creating many of the other characters for The Maltese Falcon, which reworks elements from some of his stories published in Black Mask magazine in 1925, "The Whosis Kid" and "The Gutting of Couffignal".[2] The novel was serialized in five parts in Black Mask in 1929 and 1930 before being published in book form in 1930 by Alfred A. Knopf.