A parent of children at Liberton High School in Edinburgh has recounted the moment he received a text from his son, telling him "we're all OK".
A schoolgirl was killed at the school this morning after being crushed by a collapsing wall, reportedly in a PE changing room.
Alan Palfreyman said he had no idea what had happened until he received the text from one of his children who attends the school.
Mr Palfreyman told ITV News: "Matthew was born the day after Dunblane, and I instantly thought 'is it something major that's happened?'. Obviously it turned out that it had."
It is understood the parents of the girl who was killed inside an Edinburgh high school this morning when a wall collapsed on her have been informed of her death.
Parents began collecting their children from Liberton High School from around 12.30pm. They said it has now been closed for the day.
I was in a meeting when I heard what had happened and have come in to collect my son.
We haven't been told any more about it.
It is concerning that this has happened. You just don't expect this kind of thing to happen inside a school.
Scottish Education Secretary Michael Russell, Deputy First Minister Nicola Sturgeon and Ian Murray, Labour MP for Edinburgh South were among the Scottish politicians who tweeted about the death of a first year pupil at Edinburgh's Liberton High School this morning.
The female student was pronounced dead at the scene after a changing room wall in the school's PE department apparently collapsed on her.
Awful news from Liberton High. My thoughts & condolences with family & friends: Pupil killed in school wall collapse http://t.co/ylQG2mCrPD
Tragic news coming from Liberton High School. My thoughts go out to the family and all at the school. Dreadful news.
Very distressed to hear of fatality at Liberton High in Edinburgh - thoughts with family and the whole school community @libertonhighht
Parents and pupils have arrived at Liberton High School in Edinburgh after a collapsing wall crushed and killed a first year pupil this morning.
All parents received a text from the school after the incident at 10am, advising them that a pupil had died in an accident and that her parents had been informed.
STV News reported that the schoolgirl was crushed by a collapsing wall in a PE changing room.
Emergency services rushed to the scene, but the girl was declared dead soon afterwards.
The student killed by a wall collapse at Liberton High School in Edinburgh was a first year pupil, according to STV News.
The school has texted the parents of all pupils to confirm that one of its students was killed in an accident this morning.
Parents of pupils at Liberton High School in Edinburgh have been advised by text that one of their students was killed in an accident, according to STV.
A female pupil was crushed by a collapsing wall at the school this morning, which was reportedly in a PE changing room.
A text from the school said the parents of the dead pupil have been informed about the accident, and said "no-one else is injured".
Police and ambulances rushed to the scene but the pupil was declared dead soon afterwards.
The collapsing wall which killed a pupil at her school in Edinburgh was in a PE changing room, STV have reported.
Emergency services were called to the wall collapse, which occurred around 10am this morning, but the pupil was declared dead soon afterwards.
A pupil was killed this morning after being crushed by a collapsing wall at her secondary school in Edinburgh, Liberton High School.
The school lies south east of Edinburgh's city centre.
Police and an ambulance gathered at Liberton High School after a wall collapsed on a female pupil, who was declared dead soon afterwards.
Police are investigating the collapse which occurred just before 10am today.
A large emergency response was called to Liberton High School after a pupil was crushed and killed by a collapsing wall this morning.
A spokeswoman for Edinburgh City Council said: "A pupil at Liberton High School has sadly died following an incident at the school.
"Senior education staff and health and safety officers from the council are at the school providing support to staff and pupils."
Police said they were investigating the wall collapse at Liberton High School, which is located south east of Edinburgh city centre.