A delivery driver has died after becoming trapped under a pallet in a "tragic accident" at a racecourse.

The man was injured as he unloaded material from a vehicle at Musselburgh racecourse, East Lothian, at about 9am.

He was discovered by staff and emergency services were called to the ground care depot at the racecourse at 9.38am.

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."

The spokeswoman said the man was in his early 40s.

A spokeswoman for the Scottish Fire and Rescue Service said: "The man was removing pallets using some kind of crane-operated device.

"He became trapped and we were called to help to release him. We used high-pressure airbags to do that."

A Police Scotland spokesman said officers were called to the racecourse after a report that a man had been injured during a workplace incident.

He said: "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 said that it was aware of the incident and inspectors are to attend the site today.