(CNN) -- Ducati's Casey Stoner has secured pole position for Sunday's Aragon Grand Prix at the Motorland Aragon circuit, Spain.
He was the only driver to break the one minute 49 second barrier during qualification, which allowed him to claim the 20th pole of his MotoGP career.
It was a welcome return to the front of the grid for the Australian who hasn't started a race from pole since the season's opening Grand Prix in Qatar back in April.
Stoner -- who lies fifth in the 2010 world championships standings -- edged out Yamaha's Jorge Lorenzo by 0.309 seconds who will start second. Dani Pedrosa of Honda will start third after finishing 0.401 seconds behind the 2007 world champion.
The in-form Pedrosa -- who was quickest in Friday's first free practice session -- looked as though he would head the grid come Sunday.
But Stoner managed to trump the Spaniard with a time of one minute 48.343 seconds.
This year's runaway leader, Lorenzo stole in to take second place when Pedrosa miscued on a braking maneuver during his final qualifying lap.
"I've had a difficult season with lots of crashes and I hope to be back fighting with the very best tomorrow," Stoner said, AFP reported.
Stoner's Ducati team-mate Nicky Hayden will start Sunday's race in fourth place, ahead of Yamaha's Ben Spies and Honda's Randy de Puniet.
Six-time MotoGP champion Valentino Rossi will start from seventh place.
With six races of the 2010 season remaining, Lorenzo currently leads his compatriot Pedrosa by 63 points in the championship standings, with just six races remaining this season.