Sheriff: Suspect admitted to killing six-year-old