Lara Gillespie has won a silver medal in the scratch race at the UCI Track Cycling World Championships in Shanghai.

Dutch woman Lorena Wiebes claimed the title for the third year in succession with Gillespie just missing out on gold on a photo finish.

Portugal’s Maria Martins was third in the field of 24 competitors.

The 40-lap event was raced at a steady pace until late on as French rider Valentine Fortin attacked with seven laps to go, followed by Wiebes.

The attack was quickly shut down by Gillespie and the main group as the speed continued to rise. Wiebes attacked again with two to go, followed closely by Gillespie and Martins.

Gillespie described herself as “angry” but “proud” after narrowly missing out on gold.

“I wouldn’t normally say scratch is my favourite race,” said Gillespie afterwards. “But I’m really proud of how I rode today, representing Ireland as best I could.”

She added: “Of course it was so close and I don’t think I’ve ever been so angry to take silver at a World Championships, but I think I can be proud of how I raced. It gives me confidence for the races coming up.”

This was the first event of this year’s championships for the Wicklow cyclist, who won gold in the elimination race last year in Chile.

Gillespie returns to the track on Friday for the omnium event and Sunday for the points race.

The quartet of Aoife O’Brien, Emma Jeffers, Esther Wong and Fiona Mangan were in action earlier in the morning for the team pursuit. A crash for O’Brien saw the remaining three riders offered a re-run where they took 16th place with a time of 4:27.39.