The number of reported cases involving a child committing a sexual offence against another youngster in Scotland has risen by a third in four years.

The figures rose from 224 in 2011/12 to 300 in 2015/16, a 34% increase, according to the Crown Office statistics.

Meanwhile, the number of people aged 17 or under accused of sexual offending has risen by 21% over the same period, from 350 to 422.

Prosecutors said too many of Scotland's children and young people are subjected to, or engage in, sexual behaviour that requires a criminal justice response.

Solicitor general Alison Di Rollo QC is hosting an education summit in Glasgow on Friday with the aim of protecting children and young people, preventing future sexual offending and changing attitudes in Scottish society.

The summit will bring together more than 150 teachers, social workers, police officers, prosecutors, young people's representatives and professionals from charities.

She said: "Too many children and young people are coming to the attention of the police and the prosecution service in relation to sexual offending.

"There is a growing body of evidence that indicates that the most significant factor in determining whether a child will commit criminal offences in the future is contact with the criminal justice system at a young age.

"I don't want to prosecute Scotland's young people nor do I want them to have to give evidence in court against their peers and I believe that one of the key ways that we can protect our children and young people is by educating them about the law."

Ms Di Rollo welcomed a Scottish Government review into personal and social education in schools.

There has also been a 34% rise in the number of victims of sexual offending aged 17 and under, from 1190 in 2011/12 to 1600 in 2015/16.

The conference will explore a range of subjects including the legal landscape of sexual offending in Scotland, the response to children and young people who display harmful sexual behaviours and preventing online child abuse.

The conference aims to provide professionals with the tools they need to help prevent future sexual offending and protect Scotland's children and young people.

Deputy first minister John Swinney said: "It is important that children and young people gain knowledge about the laws on sexual behaviour which is appropriate to their age and stage of education.

"The approach delivered through the Curriculum for Excellence supports this."

He added: "I am committed to ensuring the Scottish Government plays a central role in helping to reduce the numbers of our children and young people that are brought before the courts on sexual offence charges."