Former Olympic swimming champion David Wilkie returned to the pool where he won his first major international medal to reopen it following a major refurbishment.
Edinburgh's Royal Commonwealth Pool (RCP) has been given a £37.2m boost over the past two-and-a-half years.
It now has a 50-metre, eight-lane pool, a 25-metre diving pool, and "dry dive" facility, with a trampoline and springboards and a 25-metre pool with moveable floor.
The pool will host the diving events as part of the Glasgow 2014 Commonwealth Games and will be used by the British Swimming squad for training in July this year, ahead of the London Olympics.
Wilkie swam the first breadth in the 50-metre pool alongside 30 children on Tuesday.
He said: "It is a great privilege to be back at the RCP, considering that this is where I did a lot of my training when I was a schoolboy in Edinburgh. This is also the pool where I won my first international cap for Great Britain and won my first major international medal at the 1970 Commonwealth Games.
"I have some fond memories of the place. It's great to see the 'old lady' reformed in all her old glory and to play a part in her reopening."
The official reopening ceremony also included a synchronised diving display by Commonwealth Games athlete Grace Reid, together with fellow divers James Heatly and his grandfather Sir Peter Heatly, who took part in the original opening ceremony of the RCP in 1970.
Deputy Lord Provost Rob Munn and Deputy First Minister Nicola Sturgeon also made speeches.
Ms Sturgeon said: "With five Scots swimmers already qualifying for the London Olympics and the 2014 Games less than 900 days away, there has never been a more exciting time for sport in Scotland.
"The reopening of this spectacular venue, which will host the diving competition during the 2014 Commonwealth Games, marks yet another significant milestone on the journey towards 2014.
"This world-class facility will encourage participation in sport and physical activity locally and support elite athletes. The pool will also welcome the GB swimming squad for their final training camp ahead of the 2012 Olympics, raising Edinburgh and Scotland's profile as an outstanding place to stage major events."
The pool will open to the public on Wednesday.