A teacher has been struck off after being found to have told pupils about having sex behind a tree and smoking cannabis.
Peter Walsh was working as a supply teacher at Broughton High School in Edinburgh at the time of the misconduct.
At a hearing before the General Teaching Council for Scotland (GTCS), he was accused of talking with pupils about sex and drugs.
One witness, a curriculum leader, said he had described having sex behind a tree and other sexual encounters, smoking joints and going to rehab.
The misconduct was said to have taken place between February 9 and February 13 2015.
Mr Walsh denied all of the allegations made against him but the GTCS found them to be proven and removed him from the register.