FIUGGI, Italy — A day after dislocating his shoulder in a crash, Alberto Contador retained the overall lead in the Giro d'italia Friday as Diego Ulissi sprinted to victory in the longest stage of the race. Contador, who was injured in a fall on the final sprint of Thursday's sixth stage, competed with lower pressure in his tires to ease any strain on his shoulder. The real test will come this weekend when the race takes to the mountains. The Spaniard, attempting to become the first rider since Marco Pantani in 1998 to win the Giro and Tour de France in the same year, maintained a two-second lead over Italy's Fabio Aru and a 20-second advantage over third-place Richie Porte. Ulissi was overcome with emotion at the finish, collapsing on the ground after holding off other more recognized sprinters on the slightly uphill finish to a mainly flat 264-km seventh stage from Grosseto to Fiuggi. Juan Lobato was second, just ahead of Simon Gerrans after nearly 7-1/2 hours of cycling on the longest stage of the Giro since 1989. Ulissi had only recently returned from a suspension after testing positive for the banned substance salbutamol during last year's Giro. There are two second category climbs in addition to the opening first category ascent Saturday's 186K leg from Fiuggi to Campitello Matese. The 98th Giro ends on May 31 in Milan. — AP