Who was the first comic book detective?

Dick Tracey was the first comic book detective.