A pensioner sexually assaulted three schoolgirls as they walked in uniform outside a school.
Angus Cameron launched launched three separate attacks over the course of almost two months outside the Fife high school.
The pervert was snared after his victims aged 15 and 16 went to guidance teachers who called in police.
Cameron later admitted he had carried out the opportunistic attacks for the thrill.
He targeted his victims by reaching out and grabbing their inner thighs or groins as they walked past him.
Fiscal depute Eilidh Roberton told Dundee Sheriff Court all three girls were in uniform at the time of the attacks.
She said the first attack took place on a 15-year-old girl on a date between December 1 and December 23.
Miss Robertson added: “The first girl felt him grabbing her inner thigh and squeezing as he went by.
“This lasted for a couple of seconds. She shouted out ‘oh my god, he just touched me’.”
The attacks were repeated on two more occasions, on a day between January 25 and 29 and on February 3.
In the second attack he touched a 16-year-old girl’s inner thigh and groin, before touching a 15-year-old girl on her inner thigh in his final assault.
Miss Robertson added: “At the third attack the girl said ‘that man just grabbed my leg’.
“The matter was reported to guidance staff at the school and police were called in.
“The girls were able to give an accurate description of the accused and he was traced by police.”
Cameron, 66, of Culzean Crescent, Kirkcaldy, pleaded guilty to three charges of sexual assault.
Defence solicitor Alan Davie said he would give a full plea in mitigation at a future hearing.
Sheriff Elizabeth Munro deferred sentence and Cameron was released on bail.