He escaped on the last climb of the day with 5 kilometers to go, but 's Edvald Boasson Hagen passed him in the final kilometer, and Costa protected his second place as the surging peloton crossed the finish line on his heels.