Five people have been taken to hospital after their car somersaulted off the road and landed in a ditch in East Lothian.
Police said the accident happened at about 0330BST at the Dolphingstone turnoff on the A1 near Tranent.
The fire service said the female driver had to be cut free from the car and suffered "multiple" injuries.
Her passengers were taken to the Royal Infirmary of Edinburgh. Their injuries are not thought to be life threatening.
No other vehicles were involved in the incident.
A Scottish Ambulance spokeswoman said: "We had five ambulances in attendance and a medical team from the Edinburgh Royal Infirmary.
"All five people were taken to hospital, three with multiple fractures who were all put on spinal boards, but none of the injuries are life threatening."