Megan Denman, 29, pleaded guilty to six felony charges Wednesday.
Action News discovered a search warrant back in April that detailed the unusual way her relationship with the 17-year-old was revealed.
A Fresno police officer pulled over the victim driving Denman's car. The officer thought the car was stolen, but the teenager then revealed details of a sexual relationship with his teacher.
A judge indicated he would sentence Denman to probation.