Spielberg, Austria - Valtteri Bottas won a cliffhanger Austrian Grand Prix for Mercedes on Sunday with Ferrari's Sebastian Vettel finishing a mere 0.6 of a second behind to increase his lead over Lewis Hamilton to 20 points after nine races.
Hamilton, Bottas's team-mate, started in eighth place after a grid penalty triggered by an unscheduled gearbox change and finished fourth.
Vettel now has 171 points to Hamilton's 151. Bottas is third overall on 136.
"I had a bit of deja-vu in the end from Russia," said Bottas, referring to his first Formula One win at Sochi in April when Vettel again almost reeled him in at the finish and also crossed the line 0.6 behind.
"At the beginning I could control the race but it was trickier towards the end."
Australian Daniel Ricciardo finished third for Red Bull, at a circuit owned by the energy drink brand, for his fifth successive podium finish with Hamilton pushing him hard to the chequered flag.
The victory from pole position was the second of the season and of his career for Bottas, who joined Mercedes in January as a replacement for retired 2016 world champion Nico Rosberg.
Apart from the closing laps, with Vettel reeling in the Mercedes in a nail-biting finish and Bottas looking anxiously in his mirrors as he wrestled with blistered tyres, the Finn's biggest scare came at the start.
Bottas reacted with split-second precision, his getaway so blindingly quick that Vettel alongside immediately questioned whether the Mercedes had jumped the lights. Stewards investigated and took no further action.
"I think that was the start of my life. I was really on it today," he said.
"I was pretty sure he jumped it," said Vettel, who felt he would have won with one more lap.
"How would you feel if you were just shy of half a second behind the winner? It was very close."
As Bottas led away, bits of bodywork went flying behind him in a three-car coming together that drew a groan from some 10 000 orange-shirted Dutch fans around the circuit as Ricciardo's teenage team-mate Max Verstappen was shunted off.
It was the 19-year-old Dutch driver's fifth retirement of the season.
Ferrari's Kimi Raikkonen finished fifth with Frenchman Romain Grosjean sixth for Haas and Force India drivers Sergio Perez and Esteban Ocon following behind.
The Williams pairing of Felipe Massa and Lance Stroll completed the points places after starting 17th and 18th.
McLaren's Fernando Alonso joined Verstappen in retiring without completing a lap, the Spaniard hit from behind by Toro Rosso's Daniil Kvyat and pushed into the Dutch driver. Kvyat was given a drive-through penalty.
AUSTRIAN GRAND PRIX: RESULTS
1. Valtteri Bottas (Finland) Mercedes 1:21:48.527
2. Sebastian Vettel (Germany) Ferrari +00:00.658
3. Daniel Ricciardo (Australia) Red Bull - TAG Heuer 00:06.012
4. Lewis Hamilton (Britain) Mercedes 00:07.430
5. Kimi Raikkonen (Finland) Ferrari 00:20.370
6. Romain Grosjean (France) Haas - Ferrari 01:13.160
7. Sergio Perez (Mexico) Force India - Mercedes 1 lap
8. Esteban Ocon (France) Force India - Mercedes 1 lap
9. Felipe Massa (Brazil) Williams-Mercedes 1 lap
10. Lance Stroll (Canada) Williams-Mercedes 1 lap
11. Jolyon Palmer (Britain) Renault 1 lap
12. Stoffel Vandoorne (Belgium) McLaren 1 lap
13. Nico Huelkenberg (Germany) Renault 1 lap
14. Pascal Wehrlein (Germany) Sauber - Ferrari 1 lap
15. Marcus Ericsson (Sweden) Sauber - Ferrari 2 laps
16. Daniil Kvyat (Russia) Toro Rosso - Renault 3 laps
Carlos Sainz Jr (Spain) Toro Rosso - Renault - 27 laps
Kevin Magnussen (Denmark) Haas - Ferrari - 42 laps
Fernando Alonso (Spain) McLaren - 70 laps
Max Verstappen (Netherlands) Red Bull - TAG Heuer - 71 laps
Lewis Hamilton,1:07.411, lap 69
1. Sebastian Vettel (Germany) Ferrari - 171
2. Lewis Hamilton (Britain) Mercedes - 151
3. Valtteri Bottas (Finland) Mercedes - 136
4. Daniel Ricciardo (Australia) Red Bull - 107
5. Kimi Raikkonen (Finland) Ferrari - 83
6. Sergio Perez (Mexico) Force India - 50
7. Max Verstappen (Netherlands) Red Bull - 45
8. Esteban Ocon (France) Force India - 39
9. Carlos Sainz Jr (Spain) Toro Rosso - 29
10. Felipe Massa (Brazil) Williams - 22
11. Lance Stroll (Canada) Williams - 18
12. Nico Huelkenberg (Germany) Renault - 18
13. Romain Grosjean (France) Haas - 18
14. Kevin Magnussen (Denmark) Haas - 11
15. Pascal Wehrlein (Germany) Sauber - 5
16. Daniil Kvyat (Russia) Toro Rosso - 4
17. Fernando Alonso (Spain) McLaren - 2
18. Jolyon Palmer (Britain) Renault - 0
19. Marcus Ericsson (Sweden) Sauber - 0
20. Stoffel Vandoorne (Belgium) McLaren - 0
21. Antonio Giovinazzi (Italy) Sauber - 0
1. Mercedes - 287
2. Ferrari - 254
3. Red Bull - TAG Heuer - 152
4. Force India - Mercedes - 89
5. Williams-Mercedes - 40
6. Toro Rosso - Renault - 33
7. Haas - Ferrari - 29
8. Renault - 18
9. Sauber - Ferrari - 5
10. McLaren - 2