SPIELBERG, Austria -- Felipe Massa felt like he was kick-starting his Formula One career after earning his first pole position since 2008 as Williams stunned Mercedes in Austrian Grand Prix qualifying on Saturday.
Massa and teammate Valtteri Bottas posted the two fastest times, setting up the first Formula One race of the season without Mercedes in the front row.
"After a long time that I couldn't be in this place, I hope this is the beginning of some great possibilities again," said Massa, adding he was "very emotional."
It's Massa 16th career pole but first since the Brazilian GP six years ago. Williams had not had a 1-2 in qualifying since the German GP in 2003.
"It was such a great moment," said the Brazilian, who has won 11 races in his career. "It was a very long time when I had my last pole position."
Massa's fastest lap on the 4.3-kilometer Red Bull Ring was 1 minute, 8.759 seconds, 0.087 ahead of Bottas. Rosberg came another 0.098 back.
Hamilton had one time scratched as all four wheels of his car crossed the sideline in turn eight, while he came off track again and spun at his final attempt to beat Massa.
Bottas led the final practice earlier Saturday, edging Hamilton by 0.05, while Massa came third to send out a warning to Mercedes, which had pole in all seven previous races.
"I am not totally suprised," Williams deputy team boss Claire Williams said. "This track suits us with the long straights."
According to Mercedes team boss Toto Wolff, Williams deserved the pole despite his team clearly dominating practice on Friday.
"Williams has been faster on the long straights," Wolff said. "I think it's good for the Sport though we are a bit upset."
It's the sixth time in eight races where Ricciardo beat his German teammate in qualifying.
Vettel failed to reach the final qualifying round for a third time this season as Red Bull kept struggling with the tire temperature management.
Vettel had the 13th time but gained one spot as 11th-place Force India driver Perez loses five places as a penalty following his crash with Massa in Montreal.
"It's simple, we are just not fast enough," Vettel said. "You saw we had problems Friday and we expected to do better today. It's definitely not what you wish for ... Sometimes you go a step forward and sometimes you go one back."
Jenson Button also missed the last qualifying round and will start just ahead of Vettel.
Button, the 2009 champion, had to quit the session after just four laps because of a problem with the rear brakes of his McLaren.