HOCKENHEIM, Germany (AP) -- Nico Rosberg won the German Grand Prix on Sunday to stretch his lead in the Formula One drivers' championship over Mercedes teammate Lewis Hamilton, who finished third after starting 20th.

Hamilton, who crashed in qualifying and survived a number of scrapes throughout the race, could not get past Valtteri Bottas in the closing laps and the Finn took second to give Williams its 300th F1 podium finish.

Four-time defending champ Sebastian Vettel was fourth, ahead of Fernando Alonso who won his battle with Red Bull's Daniel Ricciardo for fifth.

There was a collision at the first corner between McLaren's Kevin Magnussen and Felipe Massa's Williams, which flipped over and slid across the run-off area.