Passage: C. Auguste Dupin is generally acknowledged as the first detective in fiction. The character served as the prototype for many that were created later, including Sherlock Holmes by Arthur Conan Doyle and Hercule Poirot by Agatha Christie. Conan Doyle once wrote, "Each [of Poe's detective stories] is a root from which a whole literature has developed... Where was the detective story until Poe breathed the breath of life into it?"Many tropes that would later become commonplace in detective fiction first appeared in Poe's stories: the eccentric but brilliant detective, the bumbling constabulary, the first-person narration by a close personal friend. Dupin also initiates the storytelling device where the detective announces his solution and then explains the reasoning leading up to it. Like Sherlock Holmes, Dupin uses his considerable deductive prowess and observation to solve crimes. Poe also portrays the police in an unsympathetic manner as a sort of foil to the detective.The character helped established the genre of detective fiction, distinct from mystery fiction, with an emphasis on the analysis and not trial-and-error. Brander Matthews wrote: "The true detective story as Poe conceived it is not in the mystery itself, but rather in the successive steps whereby the analytic observer is enabled to solve the problem that might be dismissed as beyond human elucidation." In fact, in the three stories which star Dupin, Poe created three types of detective fiction which established a model for all future stories: the physical type ("The Murders in the Rue Morgue"), the mental ("The Mystery of Marie Rogêt"), and a balanced version of both ("The Purloined Letter").Fyodor Dostoevsky called Poe "an enormously talented writer" and favorably reviewed Poe's detective stories. The character Porfiry Petrovich in Dostoevsky's novel Crime and Punishment was influenced by Dupin.

Question: Who played the first detective role in the Poe's stories?
C. Auguste Dupin