Fauja Singh, 101, retired from running full marathons following his eighth marathon in London in April but took part in the Edinburgh relay.
As well as the relay, there was a full 26 mile marathon, a half marathon, a 10K, a 5K, and junior races.
It is the biggest running event in Scotland.
It is second only to London in UK marathon size.
This year’s Edinburgh marathon featured a line up of some of the finest athletes in the world.
Since the Edinburgh Marathon started in 2003 it has had an economic impact of more than �25m for the Scottish capital and has helped raise more than �30m for hundreds of charities.