CALDWELL, Idaho (KTVB) -- A youth pastor and teacher at a Caldwell church was sentenced to 11 1/2 years in prison Monday for having a sexual relationship with an underage girl.

Casey Dyck, 24, will be eligible for parole after serving 1 1/2 years of the sentence. Prosecutors say his victim, who was 16 or 17 years old, was Dyck's student at Centennial Baptist School. The pair had sexual contact several times at the school and at Dyck's home in Caldwell. The defendant also sent sexual photos and texts to multiple underage students.

One victim told police Dyck promised her extra credit is she wore low-cut tops and short skirts to school. He was arrested in February after an investigation by Caldwell Police. Prosecutor Bryan Taylor characterized Dyck's actions as grooming the girls for sexual relationships.

Judge Bradley Ford also admonished the defendant at sentencing for using his position of authority to pursue sexual relationships with teenagers. In addition to the prison time, Dyck was ordered to register as a sex offender and have no contact with his victims or any other underage girls.