German Lennard Kamna produced a superb solo break to power to victory on stage 16 of the Tour de France.
The Bora-Hangrohe rider, 24, pulled away on the penultimate climb of the 164km stage from La Tour-du-Pin to Villard-de-Lans to claim his first career Grand Tour win.
Kamna's victory also marked his team's first success at the Tour.
Ecuador's Richard Carapaz finished second while Swiss Sebastien Reichenbach took third place.
"I'm feeling great," said Kamna. "It's an absolutely awesome day for me now.
"It was a fight from the beginning on and I knew I had to make it to the finish alone. When I saw Carapaz upping the speed I thought, 'now is the moment to go' - and I just went all in to the end.
"It's a big, big, big relief for the team and for me. I can almost not imagine it. The step I made this year is huge and I'm so pleased to win."
Last year's winner Bernal, having dropped out of contention when he was distanced on the Grand Colombier on Sunday, was again off the pace.
Stage 16 result
1 Lennard Kamna (Ger/Bora-Hansgrohe) 4hrs 12mins 52secs
2 Richard Carapaz (Ecu/Ineos Grenadiers) +1:27
3 Sebastien Reichenbach (Sui/Groupama-FDJ) +1:56
4 Pavel Sivakov (Rus/Ineos Grenadiers) +2:34
5 Simon Geschke (Ger/CCC Team) +2:35
6 Warren Barguil (Fra/Team Arkea-Samsic) +2:37
7 Tiesj Benoot (Bel/Team Sunweb) +2:41
8. Nicolas Roche (Irl/Team Sunweb) +2:47
9 Quentin Pacher (Fra/B&B Hotels-Vital Concept) +2:51
10 Julian Alaphilippe (Fra/Deceuninck-Quick-Step) +2:54
More to follow.