two. On 2 July, he won the opening stage of the Tour de France in a sprint finish at Utah Beach, taking his twenty-seventh stage win, and donning the yellow jersey for the first time. He lost the jersey the following day when Sagan won stage two. Cavendish won stage three in a photo finish with André Greipel in Angers, taking his twenty-eighth win and equalling Bernard Hinault's tally. This win put him in the lead of points classification. He won stage six in a bunch sprint at Montauban, ahead of Marcel Kittel and Dan McLay, to increase his lead. Sagan retook the green jersey from Cavendish on the tenth stage, where the Slovakian was part of a breakaway that led the race until the end. He finished second to Michael Matthews at the finish line in Revel and won the stage's intermediate sprint. Cavendish went on to take his fourth stage of the 2016 Tour, and his thirtieth Tour stage victory on stage fourteen, passing Alexander Kristoff and Sagan at the finish in Villars-les-Dombes Parc des Oiseaux. He quit the Tour on the second rest day before the mountainous stages citing his need to prepare for the Olympics. Having competed in two previous Olympics, Cavendish finally won his first medal, finishing second in the men's omnium. After the Olympics, he returned to track racing, teaming up with Bradley Wiggins to race the Six Day London. The pair narrowly lost to Kenny De Ketele and Moreno De Pauw in the final moments of the sixth day, finishing in second position overall. The pair went on to race at the Six Days of Ghent, this time beating De Ketele and De Pauw to take the overall victory. 2017 After not winning any stages in his opening race, the 2017 Dubai Tour, he won the opening stage of the third event of the 2017 UCI World Tour, the Abu Dhabi Tour. In April, he was diagnosed with Epstein–Barr virus, preventing him from racing until the 2017 British National Championships. In a 2021 interview, Cavendish stated that his health was compromised by being told by doctors that he was fit to train again when Epstein-Barr was still in his system, leading to him reducing his intake of food to make his racing weight and eventually to a deterioration in his mental health and clinical depression. Cavendish was back to form by the 2017