(CNN) -- Spain's Dani Pedrosa is on pole position for Sunday's San Marino MotoGP after posting the fastest lap in qualifying at Misano on Saturday.
The Honda rider snatched first place on the grid by 0.018 of a second in the dying seconds of qualifying, ahead of compatriot Jorge Lorenzo on the Yamaha and Britain's Cal Cal Crutchlow who finished third.
Pedrosa's 41st career pole puts him in prime position to close the gap on Lorenzo in the overall standings.
The 26-year-old, who is seeking to win a first MotoGP title, currently trails Lorenzo by 13 points with only six races (including San Marino) left this season.
Germany's Stefan Bradl will start Sunday's race in fourth, while Spain's Alvaro Bautista on the Honda finished qualifying in fifth.
Valentino Rossi equalled his season's best performance in qualifying, finishing sixth.
The Italian lived a short distance away from the circuit in Cattolica.
On Thursday, riders from all three classes assembled on the grid to complete a lap of the circuit on bicycles to pay tribute to the Honda rider who was just 24 years old when tragedy struck.