Spy fiction is a genre of literature involving espionage as an important context or plot device. It emerged in the early twentieth century, inspired by rivalries and intrigues between the major powers, and the establishment of modern intelligence agencies. It was given new impetus by the development of fascism and communism in the lead-up to World War II, continued to develop during the Cold War, and received a fresh impetus from the emergence of rogue states, international criminal organizations, global terrorist networks, maritime piracy and technological sabotage and espionage as potent threats to Western societies. As a genre, spy fiction is thematically related to the novel of adventure (The Prisoner of Zenda, 1894, The Scarlet Pimpernel, 1905), the thriller (such as the works of Edgar Wallace) and the politico-military thriller (The Schirmer Inheritance, 1953, The Quiet American, 1955). History Commentator William Bendler noted that "Chapter 2 of the Hebrew Bible's Book of Joshua might count as the first Spy Story in world literature. (...) Three thousand years before James Bond seduced Pussy Galore and turned her into his ally against Goldfinger, the spies sent by General Joshua into the city of Jericho did much the same with Rahab the Harlot." Nineteenth century Spy fiction as a genre started to emerge during the 19th Century. Early examples of the espionage novel are The Spy (1821) and The Bravo (1831), by American novelist James Fenimore Cooper. The Bravo attacks European anti-republicanism, by depicting Venice as a city-state where a ruthless oligarchy wears the mask of the "serene republic". In nineteenth-century France, the Dreyfus Affair (1894–99) contributed much to public interest in espionage. For some twelve years (ca. 1894–1906), the Affair, which involved elements of international espionage, treason, and antisemitism, dominated French politics. The details were reported by the world press: an Imperial German penetration agent betraying to Germany the secrets of the General Staff of the French Army; the French counter-intelligence riposte of sending a charwoman to rifle the trash in the German Embassy in Paris, were news that inspired successful spy fiction. At least two Sherlock Holmes stories have clear espionage themes. In The Adventure of the Naval Treaty, Holmes recovers the text of a secret Naval Treaty between Britain and Italy, stolen by a daring spy. In His Last Bow, Holmes himself acts as a double agent, providing Germany with a lot of false information on the eve of WWI.