Hamilton wins Mexican Grand Prix in chase to catch Rosberg

Fans cheer in the stands as one of them waves a Mexican flag prior the start of the Formula One Mexico Grand Prix auto race at the Hermanos Rodriguez racetrack in Mexico City, Sunday, Oct. 30, 2016. (AP Photo/Eduardo Verdugo)

MEXICO CITY (AP) Lewis Hamilton survived a nervous start to win the Mexican Grand Prix on Sunday, grabbing another victory he needs as he chases Mercedes teammate Nico Rosberg for the Formula One season championship.

But with a 19-point deficit to Rosberg and just two races left, Hamilton is running out of time.

Rosberg finished second.

Hamilton started on pole position and held the front despite locking his wheels and cutting through the grass on the first corner. He recovered to hold position and drove off to grab his 51st career victory, tying Alain Prost for second most in F1 history.

Hamilton, the two-time defending champion, is keeping what pressure he can on Rosberg in the title chase. Rosberg can still win his first career championship if he gets a second and third-place finish in the final two races in Brazil and Abu Dhabi.