A modern studies teacher from Angus who had intercourse with a female pupil has been placed on the sex offenders register.
Ryan McInally, 30, of Monikie, admitted having sex with the 16-year-old girl at his home while his partner worked night shift.
But he was caught out after rumours of their relationship swept the school in the Borders and the police were contacted.
He pleaded guilty on indictment to a charge of while in a position of trust as a teacher having sexual intercourse with the girl who was a pupil at a house in the Borders on an occasion between December 22 2013 and January 16 2014.
McInally, who has moved back to the Dundee area with his fiancee who is standing by him, had sentence deferred until November 9 for background reports and his name placed on the sex offenders register.
Procurator fiscal Graham Fraser told the court they met up and kissed in the countryside just before Christmas.
Mr Fraser said they continued to meet up during the holidays and on New Year’s Eve he took her back to his home where she stayed overnight.
He said this appeared to have been known to other pupils at the school and rumours started to circulate especially when she was spotted being driven home in his car.
McInally was spoken to by senior staff and said he had run her home as she was not feeling well and any other teacher would have done the same.
But the school contacted police and the girl admitted she had a sexual relationship with the accused which involved full intercourse and this was supported by a medical exam.