Sir Bradley Wiggins and Mark Cavendish
Wiggins and Cavendish produced a fine late show to strike gold in London Getty Images

Laura Trott, Sir Bradley Wiggins and Mark Cavendish all claimed gold on the final day of the UCI Track Cycling World Championships after a dramatic final day of competition in London. Trott held on to prevail in the women's omnium before Wiggins and Cavendish regained their world madison title in dramatic circumstances as Britain finish top of the medal table with nine medals, including five golds.

Trott won her second world title after finished 18 points ahead of France's Laurie Berthon and Sarah Hammer of the US after the points race to recapture the rainbow jersey from 2012 and add to her scratch race success. She led by 12 points after five events and required a solid showing in the final event to hold off the threat of Berthon and Hammer. The 23-year-old won the opening sprint and never looked back as she cruised to her second title of the week to lay down a decisive marker ahead of the Rio Olympics.

And in a breathtaking finale to the championships Wiggins and Cavendish combined to claim a thrilling win in the madison. The British pair led on points for long periods but down a lap looked set to miss out on a place on the podium. But a superb effort from the pair, which included Cavendish recovering from a heavy fall in the closing stages, saw them regain parity and snatch gold ahead of the teams from France and Spain.

The victory sees the duo repeat their victory from Manchester in 2008 and marks a fine return to the track for both men ahead of Rio. Wiggins claims his seventh world track title while Cavendish has reignited his attempts to force his way onto the team for the Olympic Games in August, having failed to medal in the omnium.

Trott, already a double Olympic champion, said: "I tried to get enough points early and I am just so happy. It has only taken four years to get the gold back! This is what I did before London. In Melbourne I never expected to win, but this time I really wanted to win so I was glad I could pull it off. I was gutted about the elimination race so to pull it off is so special.

Laura Trott
Trott won her second world title in London to lay down a marker ahead of the Olympics. Getty Images

"I added the scratch event in as a bonus event, I like to do a bunch event before the omnium itself but it was harder than I imagined. To comeback from [qualifying] fifth [in the team pursuit] and pull it back like we did was great furore team. To pull it off in the last event you don't know how happy I am."

Trott's boyfriend Jason Kenny was unable to make it two world titles in as many days, as he finished last in the men's keirin final. The Bolton-born rider regained his sprint title on Saturday [5 March] after three gruelling rides but despite making a move in the penultimate lap could not keep with double gold medallist Joachim Eilers of Germany, while Edward Dawkins and Azizulhasni Awang took silver and bronze.

"I didn't feel I had the legs to take it on from the front again," said Kenny. "Those guys are fresh and extremely fast so I was just gambling a bit and trying togged a wheel and at one point I thought I had the winning wheel. I got hung out to dry basically.

"I run out of legs really quick which I kind of expected which I why I tried to get through the race as efficiently as possible. I was pleased how I got to the final, but I tried to run the final as efficiently as possible while still trying to win obviously. I couldn't quite get down to the black line."