Detectives began investigating him in early 2023 when they say he started talking to an undercover detective online.