The 58-year-old driver of a bin lorry died after he was pinned against a wall by his own vehicle, police have revealed.
Officers say the man was crushed as he tried to prevent it rolling out of a pub car park near Edinburgh.
The lorry accident happened at around 1.15pm on Sunday November 23 and left the vehicle hanging over the edge of the pier at South Queensferry.
The man, who has not yet been formally identified, was taken to hospital with crush injuries but died a few hours later. Nobody else was injured in the incident.
Officers investigating the incident have described it as a tragic accident and have appealed for anyone who saw what happened to contact them.
After the accident one of the main roads nearby was shut with local diversions also put in place.
Sergeant Brian Smith, of the Edinburgh road policing unit at Police Scotland, said the accident happened as the man attempted to prevent the truck from rolling out of the car park at the Hawes Inn at South Queensferry.
He said after crushing the driver against the wall, the truck had collided with a parked Jaguar car before rolling across the road.
Fortunate no one else was injured
It had then mounted the pavement, damaging fencing and a bench before coming to a stop hanging over the edge of the pier.
Sergeant Smith said it was fortunate that no one else was injured in the incident as there were a number of pedestrians in the area at the time.
Witnesses or anyone with information about the accident are asked to contact police on 101.
Source: BBC News