The Scottish Ambulance service was on the scene shortly after the incident and confirmed rushing two casualties to hospital.

A spokesman for the Army said: “We are aware of an incident that took place at the weekend.

“As this is a matter for Police Scotland it would be inappropriate to comment further at this stage.”

A spokesman for Police Scotland said: “Police in Edinburgh were called to East London Street shortly before 5am on Sunday, May 7 following a report that a man had fallen through the roof of St Mary’s Primary School.

“The 19-year-old was taken to Edinburgh Royal Infirmary for treatment but he sadly succumbed to his injuries on Tuesday, May 9.

“A report will be sent to the Procurator Fiscal.”

A spokesman for the city council added: “Our thoughts are with the young man’s family.