GENOA, Italy (AP)Italian cyclist Stefano Oldani claimed his first professional victory by winning the 12th and longest stage of the Giro d’Italia while Juan Pedro Lopez kept the pink jersey on Thursday.

Oldani, who rides for Alpecin-Fenix, edged compatriot Lorenzo Rota by half a bike length, and Dutch cyclist Gijs Leemreize was third at the end of the 204-kilometer (127-mile) route from Parma to Genoa.

All three riders were looking for their first World Tour win and, knowing that one of them was assured of breaking his duck, they were all wary of each other.

Leemreize opened up his sprint first, but Oldani kicked in and held on for the win.

Oldani burst into joyful tears after crossing the line. He was the second Italian to win in as many days after a wait of 11 days in their home race.

The trio was part of a large breakaway that eventually got up the road after a frantic start with lots of attempts to escape the peloton.

The group had an advantage of over five minutes on the first of the three third-category climbs, the Passo del Bocco.

It was the first time the climb featured in the Giro since the death of Dutch cyclist Wouter Weylandt during the race in 2011. The race honored Weylandt on the descent where he crashed.

Rota, Oldani and Leemreize attacked from the 25-man breakaway group on the second categorised climb of the day and swiftly built a lead, which they worked well together to maintain on the tough final ascent.

Bauke Mollema led the chasing group across the line, 57 seconds behind Oldani. The peloton was more than nine minutes behind.

Lopez maintained his 12-second lead overall from Richard Carapaz and Joao Almeida.

Friday’s 13th stage is the final one for the sprinters although there is a steep, third-category climb in the first half of the 150-kilometer (93-mile) route from San Remo to Cuneo.

One of the top sprinters will not be there as Caleb Ewan pulled out before the start of Thursday’s stage. The Australian struggled since crashing on the opening day and had always said he would leave the Giro before the finish in order to focus on the Tour de France.

The Giro finishes in 10 days in Verona.

More AP sports: https://apnews.com/hub/apf-sports and https://twitter.com/AP-Sports