Twenty-five people were injured after a ship tipped over in a dry dock in Leith, the Scottish Ambulance Service said.
It was confirmed that 21 were taken to hospital and 12 were treated and discharged at the scene. Paramedics in hard hats have been pictured carrying injured people away from the site and into awaiting ambulances.
The ambulance service said 15 patients were taken to Edinburgh Royal Infirmary, four to Western General Hospital and two to Victoria Hospital in Kirkcaldy.l.
Police, ambulances and the fire service were called to a report that a ship had become dislodged from its holding at Imperial Dock at around 8.35am on Wednesday.
The Scottish Ambulance Service sent five ambulances, an air ambulance, three trauma teams and other resources to the scene.
A spokesperson for the Scottish Ambulance Service said: “We received a call at 0829 hours today to attend an incident in Leith. We have dispatched five ambulances, an air ambulance, three trauma teams, our special operations team (SORT), three Paramedic Response Units (PRU) and one patient transport vehicle.
"We transported 21 patients to hospital; 15 to Edinburgh Royal Infirmary, four to Western General Hospital and two to Victoria Hospital in Kirkcaldy. A further 12 patients were treated and discharged at the scene.”
Jacquie Campbell, Chief Officer of Acute Services at NHS Lothian, said: We're on standby to receive a number of patients at the Royal Infirmary of Edinburgh's A&E department following a major incident at Imperial Dock in Leith.
"We have been reviewing the current capacity at the RIE, with support from other sites, to prepare to accommodate these patients.
"Given the expected pressure on the site, we urge people not to attend A&E at the Royal Infirmary of Edinburgh unless it's an emergency.
Don't miss the latest news from around Scotland and beyond - Sign up to our daily newsletter here .