ISTANBUL — A 16-year-old boy in Turkey has been sentenced to four and a half years in prison for kissing his 13-year-old girlfriend after teachers found his schoolmates sharing video of the event.

A court in southern Antalya Province on Friday found the boy guilty of sexual abuse under a law that forbids sexual conduct with children under the age of 15. Video filmed by a schoolmate showing the boy hugging and kissing the girl in the schoolyard was used as evidence.

Five other children — all school friends ages 13 to 16, including one who filmed the episode and others who shared it — were charged with using children to produce obscene images and spreading them. They were all acquitted.

Zuhal Merve Ozfidan, the 16-year-old boy’s lawyer, said she would appeal the verdict, and declined to share the details of the case as it involves minors. The boy remains free pending appeal.