Nairo Alexander Quintana sprints away from race leader Christopher Froome during the final kilometer to win the 20th stage of the 2013 Tour de France between Annecy and Annecy-Semnoz.
Laurent Cipriani, AP

Christopher Froome of Britain, wearing the overall leader's yellow jersey, and Nairo Alexander Quintana of Colombia, wearing the best young rider's white jersey, pass through Alpe-d'Huez during the 18th stage of the Tour de France.
Peter Dejong, AP

Mark Cavendish celebrates as he crosses the finish line ahead of Peter Sagan to win the 13th stage of the Tour de France that traveled from Tours and Saint-Amand-Montrond.
Pascal Guyot, AFP/Getty Images

Team Saxo-Tinkoff leads a breakaway in favor of Alberto Contador during the 13th stage of the Tour de France that traveled from Tours and Saint-Amand-Montrond. The group would finish more than a minute ahead of race leader Chris Froome.
Bryn Lennon, Getty Images

Alejandro Valverde, right, and his Movistar teammates chase to get back in the peleton after Valverde punctured a tire during the 13th stage of the Tour de France that traveled from Tours and Saint-Amand-Montrond. Valverde would lose almost 10 minutes and his second place in the overall standings.
Joel Saget, AFP/Getty Images

Tony Martin celebrates on the podium after winning the 11th stage of the Tour de France, an individual time trial of 33 kilometers that started in Avranches and finished in Mont-Saint-Michel.
Christophe Ena, AP

Tony Martin celebrates on the podium after winning the 11th stage of the Tour de France, an individual time trial of 33 kilometers that started in Avranches and finished in Mont-Saint-Michel.
Christophe Ena, AP

Sylvain Chavanel nears the end of the 11th stage of the Tour de France, an individual time trial over 33 kilometers that started in Avranches and finished in Mont-Saint-Michel.
Jeff Pachoud, AFP/Getty Images

Christopher Froome, wearing the overall leader's yellow jersey, rides duringthe 11th stage of the Tour de France, an individual time trial over 33 kilometers that started in Avranches and finished in Mont-Saint-Michel.
Christophe Ena, AP

Two spectators take a break along the road during the 11th stage of the Tour de France, an individual time trial over 33 kilometers that started in Avranches and finished in Mont-Saint-Michel.
Joel Sagat, AFP/Getty Images

Peter Kennaugh of Britain, Vasili Kiryienka of Belarus, and Richie Porte of Australia, set the pace for Christopher Froome of Britain, in fourth position, as they climb snow-covered Pailheres pass during Stage 8.
Christophe Ena, AP

Marc Cavendish celebrates as he crosses the finish line to win Stage 5 of the Tour de France. Cavendish won the 136-mile ride from Cagnes-sur-Mer to Marseille in 5 hours, 31 minutes, 51 seconds.
Laurent Rebours, AP

Murilo Antoniobil Fischer of Brazil, center left, Tony Martin of Germany, center right, and Tony Gallopin of France, right, wait for medical assistance after crashing in the last kilometers of the first stage
Joel Saget, AP

Pierre Rolland, left, and Thomas Voeckler, second from left, ride with teammates during a training session in Porto-Vecchio in Corsica before the start of the 100th edition of the Tour de France.
Joel Saget, AFP/Getty Images

LE GRAND-BORNAND, France (AP) — Rui Costa won the mountainous 19th stage of the Tour de France with a solo breakaway on the final climb, while Chris Froome stayed in yellow as expected attacks never materialized on Friday.

Costa secured his second stage win of the race after catching Frenchman Pierre Roland about a quarter of the way up the fourth and final major ascent of Col de la Croix Fry.

"A lot of Portuguese fans have supported me through this Tour and I want to thank them," Costa said through a translator.

German veteran Andreas Kloeden was second, 46 seconds behind, and Belgian Jan Bakelants was 1:44 back in third.

Froome and his main Tour rival Alberto Contador were still some distance behind Portugal's Costa when he clinched his third career Tour stage win.

The 204.5-kilometers (127-mile) trek featured two HC climbs and two Category 1 ascents between Bourg-d'Oisans and Le Grand-Bornand in the snow-capped peaks of the Alps.

Contador was tipped to attack Froome on the long downhill finish, but perhaps because of the rainy conditions, the attack never came.

Froome and Contador rolled over the line together, several minutes behind Costa, and Froome maintained his lead of 5:11 over the Spaniard. He is two days away from becoming the second British rider to win the race after Bradley Wiggins last year.

Froome was not attacked up the first of the two big HC climbs to Col du Glandon. They are known as HC, Hors Categorie, because they are considered so tough they are beyond classification.

Canadian Ryder Hesjedal and Spaniard Jon Izaguirre opened up a lead of more than seven minutes over the yellow jersey group once they went over the top of Glandon.

A large group of some 30 riders — including the winner of Thursday's stage up to L'Alpe d'Huez, Christophe Riblon — wedged in between the front-runners and Froome's group.

There were much less people on the mountains than for Thursday's two ascents of L'Alpe d'Huez — where hundreds of thousands of people jammed into every space possible on cycling's most famed mountain pass.

On the way down from Glandon, riders sped toward the second HC of Col de Madeleine, another fabled Tour climb, winding upward for a punishing 19.2 kilometers (12 miles).

As the front two reached Madeleine, the peloton was 10 minutes behind. Hesjedal forged ahead before being caught and overtaken by Frenchman Pierre Rolland.

PHOTOS: 2013 Tour de France

The stage then undulated through the valleys and up a modest Category 2 climb before rising shaprly again with two Category 1 climbs of Col de l'Epine and Col de la Croix Fry, then ending with a sharp descent to the ski resort of Le Grand Bornand in south-eastern France.

When Rolland completed the Cat. 2 climb of Col de Tamie, he was nearly two minutes clear of a group of about 20 riders — including stage winner Costa and Bakelants. They chased Rolland hard but he maintained his lead up l'Epine — zooming up the 7.3 kilometers (4.5 miles) in just under 19 minutes.

A way behind, the main pack was still about 10 minutes back when Rolland approached the last climb. Three of Froome's Sky teammates found the going too hard, however. Peter Kennaugh, Ian Stannard and Geraint Thomas drifted off.

Costa, who won Tuesday's medium-mountain stage, charged after Rolland up Fry, a climb of about 11 kilometers (7 miles).

As the main pack started to grind their way up, Froome sat on Contador's wheel. The Spaniard had Saxo-Tinkoff teammates Michael Rogers and Roman Kreuziger to help him. Spaniard Alejandro Valverde and Frenchman John Gadret jumped out of the pack and charged ahead. Neither were a threat to Froome or Contador so they let them go.

With the rain becoming heavier, fans ducked under their umbrellas as Costa reached the top and prepared for a long and slippery descent of some 13 kilometers (8 miles). He had a scare when he misjudged a turn but got down safely. Costa's other stage win was up to Super-Besse ski station in 2011.

Contador twice attacked Froome on speedy descents in recent days, but this time the 2007 and '09 champion held fire.

He has only Saturday's 20th stage — another one of tough climbing in the Alps — to claw back his large deficit to Froome, who will likely look to stay safe so that he can match Wiggins' feat on Sunday.