The teacher met the girl at a high school on the island of Lidingö. The girl said that she saw the teacher as somebody to look up to, an adult who listened to her problems, Aftonbladet reports.
But the teacher, who was engaged to be married at the time, soon fell in love with his pupil. After a while they began meeting regularly.
On one occasion, they agreed to meet on a Saturday at a science lab at the school. There the teacher laid out two mattresses, placing a red feather on one of the pillows. He also took photographs of the girl wearing very little clothing.
The teacher claimed that they did not have sex until his pupil was fifteen and had reached the age of majority under Swedish law.
But the girl countered that she was in fact fourteen when they began having sex.
The district court found the teacher guilty and sentenced him to six months in jail. He was also ordered to pay the girl damages of 60,000 kronor ($9,350).
The teacher resigned from his job at the school immediately after his arrest.