Auguste Dupin is a fictional character created by Edgar Allan Poe.
While not the first detective in fiction, Auguste Dupin was the proto-type for many that came later (most notably Sherlock Holmes). He lives in Paris alone in an old house. Many tropes that later would become commonplace in mystery fiction first appeared here: the eccentric but brillant detective, the bumbling police, the first-person narration by a companion character. Like Sherlock Holmes, Dupin uses his considerable deductive prowess and observation to solve crimes.
He appears in three stories by Poe:
He also has a brief appearance in Alan Moore's League of Extraordinary Gentlemen comic book.