A former Kansas kindergarten teacher has agreed to spend roughly six months in jail after having admitted she possessed drug paraphernalia during a traffic stop in which authorities say they also found cocaine.

KMBC-TV reports that Karen Kay Marshall of Shawnee pleaded guilty Friday in Kansas' Johnson County to the misdemeanor paraphernalia count. Prosecutors dropped a felony cocaine possession charge.

The counts involving the former Bonner Springs Elementary School teacher related to March 2015 traffic stop in Prairie Village. She was charged and resigned in June.