According to the sheriff's office, the man had been messaging the teen for about a year before the investigation began.