Fourteen people remain in hospital after a ship tipped over in a dry dock, leaving 35 people injured.
The Petrel, a research vessel previously owned by the estate of Microsoft co-founder Paul Allen, had dozens of people onboard carrying out maintenance works when it toppled at around 8.35am on Wednesday.
A major incident was declared as police, ambulances, the fire service and coastguard were called to Imperial Dock in Leith, Edinburgh.
Now owned by the US Navy, the ship was left leaning at a 45-degree angle in the dry dock.
NHS Lothian received 21 patients, with 17 treated at the Royal Infirmary of Edinburgh (RIE) and four at the Western General Hospital (WGH), while two people were taken to hospital in Fife.
The health board’s acute services chief officer urged people not to attend A&E unless it was an emergency.
The Scottish Ambulance Service said a further 12 people were treated and discharged at the scene, where it had sent 12 ambulances, an air ambulance, three trauma teams and other resources.
NHS Lothian said on Thursday that of those treated at the RIE, nine have been discharged and eight are still in hospital, some with serious injuries, while the four patients at the WGH are awaiting discharge.
NHS Fife said two patients remain in its hospitals.
The Petrel, a 76m (250ft) research vessel, was previously bought and outfitted by the late Microsoft co-founder Paul Allen and was sold by his estate in 2022.
People working at the dock described the incident as “so scary”.
James Walsh, 39, a scaffolder on the docks, was working nearby when he heard the noise of the incident.
He said: “It’s scary. Very scary. Just makes you evaluate everything really.
“No-one goes to work to be involved in any kind of accident.
“It’s so scary that you go to work and something like that can possibly happen.”
STV meteorologist Sean Batty said gusts up to 55mph were recorded in the area on Wednesday morning.
The Health and Safety Executive (HSE) said investigations were under way, with Police Scotland also making enquiries.
An HSE spokesperson said on Thursday: “We will have inspectors at the scene today to begin an investigation into this incident, working with Police Scotland.”
A US Navy spokesman said: “We are working closely with the on-site authorities, who are in the best position to help those in need and to provide status updates.
“We will continue to communicate with our contacts at the scene in order to understand what occurred, the actions being taken, and the long-term impacts.
“Our thoughts and prayers are with those injured and their families, with hopes for a quick and full recovery.”
Dales Marine Services, which runs the dry dock, said on Wednesday it was “liaising with the emergency services and relevant authorities” in dealing with the incident.
Mr Allen bought the ship to locate historically significant shipwrecks and it discovered around 30 sunken warships, including the Japanese Imperial Navy’s IJN Musashi.
The Petrel has been moored at Leith since September 3, 2020, due to “operational challenges” from the pandemic, according to a statement on the vessel’s social media page.
Follow STV News on WhatsApp
Scan the QR code on your mobile device for all the latest news from around the country