A former Kansas middle school teacher will be placed on probation after she pleaded guilty to charges of sexual activity with minors.

The Madison News reports that Kourtnie Sanchez was sentenced last week to 18 months probation, with 60 days in the Greenwood County Jail. She pleaded guilty to two felony counts of solicitation and three misdemeanor counts of promoting obscenity.

The paper says the charges stem from unlawful sex crimes with three teenage boys ages 15 to 17. Sanchez was a student teacher at Marshall Elementary School in Eureka and a girl’s basketball and volleyball coach at Eureka Junior High.

Sanchez was originally charged with unlawful sexual relations, solicitation of unlawful sexual relations, electronic solicitation and promoting obscenity to minors.

If Sanchez was to violate probation, she would be required to spend 18 months in prison and 18 months in jail, which would be served concurrently.