Thousands of runners have taken part in the Edinburgh marathon and the other races which were held in the city.
The men's marathon was won by Steve Littler of the Lancashire-based Wesham Runners club, in a time of 2hrs 26mins 31 secs.
Sarah Gee from Reading won the women's marathon in a time of 2:38:16.
An estimated 13,500 competitors took part in the Scottish Half Marathon and the Edinburgh Marathon as temperatures hit 25C (77F) in the capital.
Onlookers lined the streets along the route to cheer runners on and offer water bottles to competitors.
In Prestonpans, spectators even used their garden hoses to cool runners down as they passed by.
Runners left London Road and made their way through the city's streets, including Holyrood Park.
Full marathon runners headed towards the coast road at Seafield, into Musselburgh before heading to Prestonpans, Cockenzie, Port Seton and into the grounds of Gosford House.
They finally crossed the finish line at Musselburgh Racecourse, watched by cheering crowds in the stand.
On the road, drivers were left stuck in long queues, as high visitor numbers and route diversions left the streets heavily congested.