Egan Bernal lost a lot of time on Wednesday in a tough mountain stage in the Giro d'Italia.

The rosette wearer collapsed completely on the final climb of Sega di Al in a breakaway by Simon Yates and lost almost a minute to the Briton.

The stage victory went to Dan Martin, who thus won a stage in all the grand tours.

At 4 kilometers from the finish line, Yates, the number five in the general classification, attacked, but Bernal initially had a simple answer to the breakaway of the Briton.

Yates then tried again, after which the classification leader was completely parked and lost no less than 53 seconds on the line.

The stage victory went to Martin.

The 34-year-old Irishman broke away from his fellow escapees at Sega di Al and held out on the steep sections of the final climb.

After his previous stage victories in the Tour de France and Vuelta a España (both twice), he completed the trilogy with his stage victory in the Giro d'Italia.

The stage was marred by a serious crash in the descent of the Passo di San Valentino about 25 kilometers from the finish.

Remco Evenepoel, the Belgian top talent of Deceuninck-Quick-Step, flew hard over the crash barrier, while Giulio Ciccone also hit the asphalt.

Both got back on their bikes, although Evenepoel had to recover from the shock for minutes.

The crash had not left Ciccone unaffected, because the number six of the general classification had to release early on the Sega di Al.

Hugh Carthy and Aleksandr Vlasov, the numbers three and four in the rankings, also fell through the ice and lost minutes to Bernal.

Number two Damiano Caruso couldn't take advantage of the Colombian's slump, winning just a handful of seconds.

Dan Martin leads the leading group during the seventeenth stage.

Dan Martin leads the leading group during the seventeenth stage.

Photo: Getty Images

Intense battle for the day's flight

The seventeenth stage took the riders over 193 gentle kilometers through the Dolomites of Canazei to the top of the Sega di Ala with three categorized climbs along the way, two of which are of the first category.

Right from the start, a hard-fought battle for the flight of the day took place.

Only during the three retreat attempts, nineteen refugees, including Martin, received the blessing of the peloton.

Nevertheless, the strong leading group did not get a lot of space from the group, because with a lead of less than three minutes they started at 54 kilometers from the finish at the Passo di San Valentino, the first tough climb of the day.

On that climb, the group broke up, leaving only Martin, Gianni Moscon, Antonio Pedrero, Geoffrey Bouchard, Giovanni Carboni and Simone Ravanelli.

In the descent of the difficult pass, things went wrong in the group with favorites.

In addition to Evenepoel and Ciccone, Mikel Nieve, Nick Schultz and Amanuel Ghebreigzabhier fell in a corner.

The thinned out platoon decided to wait for Ciccone to return.

With a lead of more than a minute and a half, the leading group started the Sega di Al, the final climb of 11.5 kilometers with an average gradient of 9.6 percent.

Already in the first kilometer, Martin decided to go solo, after which the group with favorites led by INEOS Grenadiers continued to thin out.

The Dutchman Koen Bouwman could not keep up with the pace either.

After the release of Ciccone and Vlasov, Carthy was the next victim of INEOS 'searing pace.

João Almeida, who disappointed heavily this Giro, thought it was not fast enough at 4 kilometers from the top and attacked, after which Yates also attacked.

Bernal had an immediate answer, but collapsed not much later and crossed the line with teammate Daniel Felipe Martínez at 53 seconds from Yates.

See also: View all rankings of the Giro, with Bernal in pink