The first famous detective in fiction was Edgar Allan Poe's C. Auguste Dupin. Later, Sir Arthur Conan Doyle's Sherlock Holmes became the most famous example and remains so to this day.