A man has died after being crushed under a pallet as he delivered goods to Musselburgh racecourse.
Emergency services were called to the East Lothian venue at around 9.42am on Wednesday.
The man had been delivering goods to the racecourse when he became trapped between the arm of a crane and some pallets.
Police said the man, who was employed by a contractor and was in his 40s, died from his injuries.
Musselburgh Racecourse general manager Bill Farnsworth said: "This appears to be a tragic accident and our sincere condolences go to the family of the man concerned.
"We will give our full support to the emergency services and Health and Safety Executive in any subsequent investigation in to the incident."
A spokeswoman for the Scottish Ambulance Service said: "We had a report of a male who was trapped under a tonne-bag pallet with soil on top.
"There were reports that he was not conscious and breathing at the time of the call. The fire brigade tried to extricate the patient to no avail."
Firefighters used airbags to free him but he had died at the scene.
An investigation is being carried out by Police Scotland and the Health and Safety Executive.
A police spokesman said: "Police in East Lothian responded to the Musselburgh Racecourse at around 9.40am on Wednesday 1st May following a report that a man had been injured during a workplace incident.
"The man died as a result of his injuries and a report will now be sent to the Health and Safety Executive."
The Health and Safety Executive confirmed an investigation was being carried out.
People who read this story also read
- Hundreds of Hibs fans queue to get Scottish Cup Final tickets
- Heroin worth £30,000 discovered in series of raids in Lothians
- Children's nurse found with child abuse images faces being struck off
- Man grabbed Rolex watches from jewellery shop before escaping on moped
- Swords, axes, daggers and knives seized from shop 'with no licence'