Hamilton's Kirsty Gilmour exacted revenge over Michelle Li for her Commonwealth Games gold medal defeat from four years ago by beating the Canadian to bronze on the Gold Coast.

The two players faced each other in the women's singles final at Glasgow 2014 but played for the final podium place in Australia, after losing their respective semi-finals earlier on Saturday.

Gilmour was able to put an agonising and draining last-four defeat to India's Saina Nehwal behind her, returning to the court to beat her Canadian opponent 21-11 21-16.

That was the fifth meeting of the two players, with Gilmour never previously having won.

Li was clearly hindered by a hip injury in the match, struggling to move about the court at times, ut the 26-year-old showed grit and resilience, especially in the second game, ensuring the Scottish number one was made to battle all the way to the bronze, eventually triumphing in 46 minutes.

Gilmour said: "There is overwhelming happiness and relief to be standing here.

"During the last Commonwealth Games I don't remember analysing it as much as I did this time. This time, there was a lot of planning and preparation beforehand, because the top-four seeds are all capable of beating each other on any given day.

"We weren't sure whether Michelle was going to play, because of the injury she suffered during her semi-final and there was a lot going on in my head.

"I wish it were under better circumstances; considering the final we played four years ago when she won two comfortable sets, to be able to bang that on its head makes me so happy."

Victory over Li ensured the day, and Gilmour's Commonwealth Games campaign, ended on a high, but earlier in the day the emotions were quite the opposite, after missing out on the gold-medal match following an epic duel against former world number one Nehwal, which lasted an hour and eight minutes.

Gilmour lost the first game but battled back to level in the second and force a decider after 44 minutes already on court, and with the prospect of a first-ever victory over her opponent still within reach.

However, Gilmour eventually succumbed, with the score-line reading 21-14 18-21 21-17.

Kirsty says being able to play two huge matches in one day is down to the influence of Scotland coach Tat Meng Wong.

She said: "My semi-final was so close and so hard. I have never been in the position before where I have had to stop and then go again in the same day. I owe the last year solely to Tat Meng. He has overhauled my game and I am a different player now compared to two years ago, and that is all down to him."

Gilmour's bronze concluded a successful Games for the Scottish team, who also made the quarter-finals in the mixed team event.

Motherwell's Alex Dunn and Adam Hall reached the quarter-finals of the men's doubles, with Martin Campbell and Patrick McHugh reaching the last 16.

Julie McPherson and Eleanor O'Donnell also progressed through to the last 16 of the women's doubles, with Dunn and O'Donnell doing likewise in the mixed doubles.