Samuel Dashiell Hammett ( ; May 27, 1894 – January 10, 1961) was an American writer of hard-boiled detective novels and short stories. He was also a screenwriter and political activist. Among the characters he created are Sam Spade (The Maltese Falcon), Nick and Nora Charles (The Thin Man), The Continental Op (Red Harvest and The Dain Curse) and the comic strip character Secret Agent X-9.

Hammett is regarded as one of the best mystery writers. In his obituary in The New York Times, he was described as "the dean of the... 'hard-boiled' school of detective fiction." Time included Hammett's 1929 novel Red Harvest on its list of the 100 best English-language novels published between 1923 and 2005. In 1990, the Crime Writers' Association picked three of his five novels for their list of The Top 100 Crime Novels of All Time.The Hatchards Crime Companion. 100 Top Crime Novels Selected by the Crime Writers' Association, ed. Susan Moody (London, 1990) (). Five years later, The Maltese Falcon placed second on The Top 100 Mystery Novels of All Time as selected by the Mystery Writers of America; Red Harvest, The Glass Key and The Thin Man were also on the list. His novels and stories also had a significant influence on mystery films, including the style that came to be known as film noir.

Early life Hammett was born near Great Mills on the "Hopewell and Aim" farm in Saint Mary's County, Maryland, to Richard Thomas Hammett and his wife Anne Bond Dashiell. His mother belonged to an old Maryland family, whose name in French was de Chiel. He had an elder sister, Aronia, and a younger brother, Richard Jr.1910 United States Federal Census Known as Sam, Hammett was baptized a CatholicHammett, Dashiell and Vince Emery. Lost Stories. San Francisco: Vince Emery Productions, 2005, p. 197. and grew up in Philadelphia and Baltimore. Hammett's family moved to Baltimore when he was four years old in 1898, and for the most part, it was the city where he lived until he left permanently in 1920 when he was 26 years old. As a teen, Hammett attended the Baltimore Polytechnic Institute, but his formal education ended during his first year of high school; he dropped out in 1908, when he was thirteen years old, due to his father's declining health and the need for him to earn money to support the family.

Hammett then held several jobs before working for the Pinkerton National Detective Agency. He served as an operative for Pinkerton from 1915 to February 1922, with time off to serve in World War I. While working for Pinkerton in Baltimore, he learned the trade and worked in the Continental Trust Building (now One Calvert Plaza). He said that while with the Pinkertons he was sent to Butte, Montana, during miners' union strikes, though some researchers doubt this really happened.Ward, Nathan. The Lost Detective, Bloomsbury US, 2015. The agency's role in strike-breaking eventually left him disillusioned.Heise, Thomas, "'Going Blood-Simple Like the Natives': Contagious Urban Spaces and Modern Power in Dashiell Hammett's Red Harvest" (paid access only), Modern Fiction Studies 51, no. 3 (Fall 2005), p. 506. The Project MUSE access provides a no-charge excerpt, but the excerpt does not cover the cited information.

Hammett enlisted in 1918 and served in the United States Army Ambulance Service. He was afflicted during that time with the Spanish flu and later contracted tuberculosis. He spent most of his time in the Army as a patient at Cushman Hospital in Tacoma, Washington, where he met a nurse, Josephine Dolan, whom he married on July 7, 1921, in San Francisco."California, San Francisco County Records, 1824–1997," database with images, FamilySearch (https://familysearch.org/ark:/61903/3:1:33S7-95D7-WQ6?cc=1402856&wc=319K-BZ7%3A20726701%2C22490901 : 20 May 2014), Marriages > image 84 of 233; San Francisco Public Library.

Marriage and family Hammett and Dolan had two daughters, Mary Jane (born 1921) and Josephine (born 1926).Layman, Richard with Rivett, Julie M. (2001). "Review" of Selected Letters of Dashiell Hammett 1921–1960; retrieved June 2, 2009. Shortly after the birth of their second child, health services nurses informed Dolan that, owing to Hammett's tuberculosis, she and the children should not live with him full time. Dolan rented a home in San Francisco, where Hammett would visit on weekends. The marriage soon fell apart; however, he continued to support his wife and daughters with the income he made from his writing.Gores in Emery, editor, pp. 240 and 336.

Career and personal life

Hammett was first published in 1922 in the magazine The Smart Set. Known for the authenticity and realism of his writing, he drew on his experiences as a Pinkerton operative.Gores in Emery, ed., pp. 18–24. Hammett wrote most of his detective fiction while he was living in San Francisco in the 1920s; streets and other locations in San Francisco are frequently mentioned in his stories. He said, "I do take most of my characters from real life." His novels were some of the first to use dialogue that sounded authentic to the era. "I distrust a man that says when. If he's got to be careful not to drink too much, it's because he's not to be trusted when he does."

The bulk of his early work, featuring a nameless private investigator, The Continental Op, appeared in leading crime-fiction pulp magazine Black Mask. Both Hammett and the magazine struggled in the period when Hammett became established.Locke, John (December 21, 2019). "Hammett Takes on the Writing Racket". Up and Down these Mean Streets

Because of a disagreement with editor Philip C. Cody about money owed from previous stories, Hammett briefly stopped writing for Black Mask in 1926. He then took a full-time job as an advertisement copywriter for the Albert S. Samuels Co., a San Francisco jeweller. He was wooed back to writing for the Black Mask by Joseph Thompson Shaw, who became the new editor in the summer of 1926. Hammett dedicated his first novel, Red Harvest, to Shaw and his second novel, The Dain Curse, to Samuels. Both these novels and his third, The Maltese Falcon, and fourth, The Glass Key, were first serialized in Black Mask before being revised and edited for publication by Alfred A. Knopf. The Maltese Falcon, considered to be his best work, is dedicated to his wife Josephine.

For much of 1929 and 1930, he was romantically involved with Nell Martin, a writer of short stories and several novels. He dedicated The Glass Key to her, and in turn she dedicated her novel Lovers Should Marry to him. In 1931, Hammett embarked on a 30-year romantic relationship with the playwright Lillian Hellman. Though he sporadically continued to work on material, he wrote his final novel in 1933, more than 25 years before his death. The Thin Man is dedicated to Hellman. Why he moved away from fiction is not certain; Hellman speculated in a posthumous collection of Hammett's novels, "I think, but I only think, I know a few of the reasons: he wanted to do new kind of work; he was sick for many of those years and getting sicker." In the 1940s, Hellman and he lived at her home, Hardscrabble Farm, in Pleasantville, New York.U.S., World War II Draft Registration Cards, 1942

The French novelist André Gide thought highly of Hammett, stating: "I regard his Red Harvest as a remarkable achievement, the last word in atrocity, cynicism and horror. Dashiell Hammett's dialogues, in which every character is trying to deceive all the others and in which the truth slowly becomes visible through a fog of deception, can be compared only with the best in Hemingway."

Politics and service in World War II Hammett devoted much of his life to left-wing activism. He was a staunch antifascist throughout the 1930s, and in 1937 joined the Communist Party. On May 1, 1935, Hammett joined the League of American Writers (1935–1943), whose members included Lillian Hellman, Alexander Trachtenberg of International Publishers, Frank Folsom, Louis Untermeyer, I. F. Stone, Myra Page, Millen Brand, Clifford Odets, and Arthur Miller. (Members were largely either Communist Party members or fellow travelers.) He suspended his anti-fascist activities when, as a member (and in 1941 president) of the League of American Writers, he served on its Keep America Out of War Committee in January 1940 during the period of the Molotov–Ribbentrop Pact.Folsom, Franklin (1994). Days of Anger, Days of Hope. University Press of Colorado. .

Especially in Red Harvest, literary scholars have seen a Marxist critique of the social system. One Hammett biographer, Richard Layman, calls such interpretations "imaginative", but he nonetheless objects to them, since, among other reasons, no "masses of politically dispossessed people" are in this novel. Herbert Ruhm found that contemporary left-wing media already viewed Hammett's writing with skepticism, "perhaps because his work suggests no solution: no mass-action... no individual salvation... no Emersonian reconciliation and transcendence".Nolan, William F. 1978 2nd printing. Dashiell Hammett: A Casebook, with an introduction by Philip Durham. 1969. Santa Barbara, McNally & Loftin, p. 6. In a letter of November 25, 1937, to his daughter Mary, Hammett referred to himself and others as "we reds". He confirmed, "in a democracy all men are supposed to have an equal say in their government", but added that "their equality need not go beyond that." He also found, "under socialism there is not necessarily... any leveling of incomes."Layman, Richard (ed.) 2001. With Rivett, Julie M., Introduction by Josephine Hammett Marshall. Selected Letters of Dashiell Hammett 1921–1960 , pp. 142f

Hellman wrote that Hammett was "most certainly" a Marxist, though a "very critical Marxist" who was "often contemptuous of the Soviet Union" and "bitingly sharp about the American Communist Party", to which he was nevertheless loyal.

At the beginning of 1942, he wrote the screenplay of Watch on the Rhine, based on Hellman's successful play, which received a nomination for the Academy Award for Best Writing (Adapted Screenplay). However, that year the Oscar went to Casablanca. In early 1942, following the attack on Pearl Harbor, Hammett again enlisted in the United States Army. Because he was 48 years old, had tuberculosis, and was a Communist, Hammett later stated he had "a hell of a time" being inducted into the Army.G. Michael Doogan, "Dash-ing Through the Snow", The Armchair Detective, Winter 1989, pp. 82–91 However, biographer Diane Johnson suggests that confusion over Hammett's forenames was the reason he was able to re-enlist.Johnson, Diane (1983). Dashiell Hammett: A Life. He served as an enlisted man in the Aleutian Islands and initially worked on cryptanalysis on the island of Umnak. He was stationed briefly at Fort Richardson near Anchorage, Alaska. For fear of his radical tendencies, he was transferred to the Headquarters Company where he edited an Army newspaper entitled The Adakian along with the Abraham Lincoln Brigade veteran (and later professor) Robert Garland Colodny. In 1943, while still a member of the military, he co-authored The Battle of the Aleutians with Cpl. Colodny, under the direction of an infantry intelligence officer, Major Henry W. Hall. While in the Aleutians, he developed emphysema.

In 1945, Hammett was one of 16 Army officers and enlisted men singled out as alleged Communists by the House Committee on Military Affairs. General "Wild Bill" Donovan came to their defense, citing their loyalty and effectiveness. After the war, Hammett returned to political activism, "but he played that role with less fervour than before". He was elected president of the Civil Rights Congress (CRC) on June 5, 1946, at a meeting held at the Hotel Diplomat in New York City, and "devoted the largest portion of his working time to CRC activities".