Australian cyclist Jai Hindley and British rider Tao Geoghegan Hart are virtually tied entering the final stage of the Giro d’Italia after nearly 3,500 kilometers (2,175 miles) over 20 days of racing.

Hindley claimed the pink jersey by the slimmest of margins and Hart claimed the penultimate stage Saturday to set up a two-man duel for the trophy Sunday in the concluding individual time trial.

Hart outsprinted Hindley to win the mountainous 20th stage, which included three climbs to the Sestriere ski resort.

Cyclists pedal during the 20th stage of the Giro d'Italia cycling race, from Alba to Sestriere, northern Italy, Saturday, Oct. 24, 2020. (Marco AlpozziLaPresse via AP)

Cyclists pedal during the 20th stage of the Giro d'Italia cycling race, from Alba to Sestriere, northern Italy, Saturday, Oct. 24, 2020. (Marco AlpozziLaPresse via AP)

Hindley and Hart were both listed with overall times of 80 hours, 22 minutes and 7 seconds. Organizers had to go back to the race’s two time trials and drill down to unrevealed milliseconds to determine that Hindley is the leader.

Previous leader Wilco Kelderman dropped to third overall, 1 minute, 32 seconds behind.

The winner will be decided over a mostly flat 15.7-kilometer (10-mile) individual time trial in Milan that favors Hart.

Overall leader Wilco Kelderman, wearing the pink jersey, pedals through the village of Sestriere during the 20th stage of the Giro d'Italia cycling race from Alba to Sestriere, Italy, Saturday, Oct. 24, 2020. (Massimo PaoloneLaPresse via AP)

Overall leader Wilco Kelderman, wearing the pink jersey, pedals through the village of Sestriere during the 20th stage of the Giro d'Italia cycling race from Alba to Sestriere, Italy, Saturday, Oct. 24, 2020. (Massimo PaoloneLaPresse via AP)

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