Kaitlyn Hunt, the 19-year-old who has been jailed in Florida over a sexual relationship she had with a 14-year-old girl, pleaded no contest Thursday to five charges as part of a deal brokered by prosecutors and her attorneys.

Hunt pleaded no contest to two counts of misdemeanor battery, misdemeanor contributing to the dependency of a child and two counts of felony interference with child custody.

Hunt has been in jail since August 20 for violating a court order not to contact the alleged victim.

Under the terms of the agreement, Hunt will be sentenced to four months in jail, to be followed by two years of house arrest with electronic monitoring, and nine months of monitored probation after that, according to prosecutor Brian Workman.