Mark Cavendish delivered such an incredible comeback at the Tour de France that he sits alongside cycling royalty in the history books.

Cavendish had last featured at the Tour de France in 2016, and was not expecting to ride in the event this year. Indeed, he had even hinted retirement may be a possibility following a loss of form and several bouts of injury.

Yet, after a late substitution in for Deceuninck-QuickStep and four stage wins later, Cavendish had served up a welcome reminder of his excellence.

"I found out just a week before the Tour de France started and that was that," Cavendish said. "We didn't know what was happening with Sam Bennett's knee so I was just training as if I was going but with a 99 per cent probability that I wasn't going."

Belgian great Eddy Merckx's record of 34 stage victories had stood since 1975, but the flurry of wins for Cavendish over the past three weeks means he has matched that total.

There was to be no last hurrah on the final stage for Cavendish, as he gritted his teeth but could only cross the line third in Sunday's sprint on the Champs Elysees. Consolation came with green jersey glory for the second time in his career, the king of the sprinters in the 2021 Tour.

Perhaps next year he will be back with a 35th win in his sights. Here, Stats Perform looks back at Cavendish's stage triumphs so far.

2008

In his first professional season, Cavendish started as he meant to go on at Le Tour, winning four stages. His first came in stage five at the culmination of a 232km route. He followed that up with successes in stages eight, 12 and 13 before he abandoned the tour ahead of competing at the Beijing OIympics.

2009

After becoming the first British rider to wear the general classification leader's pink jersey at the Giro d'Italia, Cavendish's dominance of the sprints in grand tours really clicked into gear. He won a sensational six stages of Le Tour in 2009, including his first of four on the bounce on the Champs-Elysees. In the process, he also set a new record for Tour de France stage wins by a British rider.

2010

Five stage victories followed in 2010, even though Cavendish crashed out of the final sprint on the opening day. The Manx rider won stages five, six, 11, 18 and 20 to take his total to 15 over three appearances at Le Tour, though his efforts were not enough to claim the green jersey.

2011

Cavendish did clinch the green jersey the following year, despite being docked 20 points for finishing outside the time limit after stage nine and again after 18. Triumphant efforts in stages five, seven, 11, 15 and 21 took his career total to 20.

2012 

Wearing the world champion's rainbow jersey, Cavendish crossed the line first on the Champs-Elysees for the fourth year running, earning his third stage win of the 2012 Tour. He became the most successful sprinter in Tour history with 23 wins, as well as being the first rider to win the Paris stage while wearing the rainbow jersey.

Mark Cavendish set a Champs-Elysees record in 2012

2013

Cavendish won stage five in Marseille, though he had to withstand being drenched with urine by a spectator on stage 11 – cycling is not a sport for the faint-hearted, after all. The 28-year-old also went on to win stage 13, though a fifth straight triumph in Paris eluded him.

2015

The 2014 Tour ended quickly for Cavendish as, in the sprint finish in Harrogate – Yorkshire having hosted the Grand Depart – he crashed out and suffered a shoulder injury. He bounced back in 2015 to win his 26th stage, nipping in ahead of Andre Greipel in Fougeres.

2016

After three quiet years at Le Tour by his standard, Cavendish was back at his blistering best in 2016, and completed his set of overall classification lead jerseys in Grand Tours when he clinched the opening stage in Normandy. A victory in stage three saw him equal Bernard Hinault's tally, with further celebrations following in stage six and 14, before he went on to claim his first Olympic medal with silver in the Rio omnium.

2021

Back from five years in the wilderness, when Merckx's record must have seemed cruelly so close yet so far away, Cavendish reminded everyone of his talent with a win in stage four, and two days later, he had scooped his 50th stage success at a Grand Tour. The win in Valence on stage 10 ensured that no, this was no joke and, after he matched Merckx in Carcassonne, Cavendish had 34 victories. He was terribly close in Paris to what would have been a glorious 35th, but for now he must settle for sharing illustrious company.