An Arbroath teacher has been struck off for indecently touching a boy in his class more than 20 years ago.
Andrew Wilson, a computing teacher at Arbroath High School, admitted that he repeatedly rubbed the boy's thigh over the course of two years.
He denied there had been anything "sexual" intended in the contact.
But a disciplinary panel found his behaviour towards the boy - then aged between 12 and 16 - was "lewd, indecent and libidinous".
Mr Wilson had also conceded that his actions would be "inappropriate in today's climate", the General Teaching Council for Scotland (GTCS) sub-committee heard.
He was interviewed about the allegations by police in May 2008.
The teacher faced two charges from the GTCS - the first that he had used "inappropriate behaviour" towards the pupil between August 1989 and June 1991, including brushing and squeezing his thigh.
The second accused him of rubbing the boy's thigh and his genitals over his clothing between August 1990 and May 1991.
Both the charges were found to be proven by the GTCS board.
The panel said: "The sub-committee found the complainer to be reliable and credible in his evidence.
"Although there were a number of inconsistencies in his detailed recollection of events, the sub-committee was persuaded that the respondent had been in the habit of touching him on the thigh inappropriately."
As well as being removed from the teaching register, the GTCS committee recommended that the Scottish government consider disqualifying Mr Wilson from working with children.
He will be banned from applying to rejoin the teaching register for 12 months.