Of course Scotland’s Capital is no stranger to the Games, having hosted them twice in 1970 and 1986.
The 1970s Commonwealth Games heralded a number of firsts – the first time the Games had been held in Scotland, the first time ‘British Commonwealth Games’ was adopted (and later abandoned), the first time metric units were used in all events, and the first time a unique logo was designed (the games emblem intertwined with a St Andrews Cross and a thistle).
A total of 1,744 people (including officials) took part in 121 events in 10 sports, with the action centred around Meadowbank Stadium, which also hosted the opening ceremony.
The Games returned to Edinburgh in 1986 but were overshadowed by 32 of the eligible 59 countries boycotting the event due to Margaret Thatcher’s government’s policy of maintaining sporting links with apartheid South Africa rather than joining the general boycott of the country.
The event was also dogged by allegations of financial mismanagement, with the City of Edinburgh eventually ending up around £500,000 out of pocket.
But the Games still went ahead, with 1,660 athletes from 27 nations taking part in 161 events comprising 10 sports.
Here are 22 pictures to take you back to the sporting action at both Edinburgh Games.
Read more:

17. Throwing it
English athlete Tessa Sanderson taking part in the javelin event at the1986 Commonwealth Games. Photo: Denis Straughan

18. Scottish weather
Rain doesn't stop play in the bowling events of the 1986 Commonwealth Games in Edinburgh. Despite the greens being flooded, play continued at Balgreen bowling club after heavy rain. Photo: Hamish Campbell

19. Celebration
English athlete Steve Baddeley celebrates after winning the Men's singles badminton in the 1986 Commonwealth Games. Photo: Alan Ledgerwood

20. Golden couple
Scottish duo Dan Travers and Billy Gilliland take gold in the men's doubles badminton in the 1986 Edinburgh Games. Photo: Alan Ledgerwood

