The force of two girls probably pushed over a wall that collapsed on to schoolgirl in Edinburgh, a court has heard.

The fatal accident inquiry into the death of Keane Wallis-Bennett, 12, who was crushed by the wall as she changed for PE, has finished hearing evidence.

Edinburgh Sheriff Court has heard from a variety of witnesses about the events at Liberton High on April 1, 2014 since the inquiry opened last week.

On Thursday, health and safety expert Mark Hatfield was called back to give his opinion in the light of evidence from two girls who had been in the changing rooms at the Edinburgh secondary at the time of the incident.

One pupil had said she and a friend had been leaning on the modesty wall with their feet off the ground on another wall.

Fiscal depute Gary Aitken asked Mr Hatfield, a specialist inspector with the Health and Safety Executive, whether it would have made any difference if both girls had been "braced" between the walls at the same time.

Mr Hatfield said: "If [the wall] was already fully cracked, then I believe that two girls doing it would turn the possibility that it was pushed over to a probability that it was pushed over."

Sheriff principal Mhairi Stephen asked Mr Hatfield about whether or not he thought the wall was completely cracked - rather than partially cracked - before the incident.

He said: "With the circumstances that have taken place as described yesterday it would need to be fully cracked."

Mr Hatfield said he had concluded the wall had been fully cracked before hearing the evidence from the pupils on Wednesday.

Thursday's hearing marked the final evidence of the inquiry and the case will reconvene on Friday for closing submissions.

Ms Stephen will give a written statement on her conclusions at a later date.