Judge Michael Lawson QC sentenced Forrest to four and a half years for the five offences of sexual activity with a child and one year for the offence of child abduction, to run consecutively.
He told Forrest: "Your behaviour in this period has been motivated by self-interest and has hurt and damaged many people - her family, your family, staff and pupils at the school and respect for teachers everywhere.
"It has damaged you too but that was something you were prepared to risk, you now have to pay that price."
Forrest, wearing a grey suit, white shirt and tie, showed no emotion but nodded to his family as he was taken down to the cells.
More top news
More than 1,200 people have come together in Wiltshire to break the World Record for 'The World’s Largest Live Nativity'.
A protest has taken place against planned closures of libraries in Swindon. The council wants to save £1.5million from its libraries budget
Olympian Sam Quek has been voted out of 'I'm a Celebrity' narrowly missing out on the final which takes place tonight.