detective (n.)
1850, short for detective police, from detective (adj.), 1843; see detect + -ive.