Ferrari driver Sebastian Vettel took advantage of an early pit stop to win the Singapore Grand Prix on Sunday and end a 13-month winless streak in Formula One.

Vettel, who started third on the grid, crossed the finish line at the 5-kilometer (3.1-mile) Marina Bay street circuit 2.641 seconds ahead of teammate Charles Leclerc.

More Images
Ferrari driver Sebastian Vettel of Germany steers his car on the way to win the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Ferrari driver Sebastian Vettel took advantage of an early pit stop to win the Singapore Grand Prix on Sunday and end a 13-month winless streak in Formula One.

Ferrari driver Sebastian Vettel of Germany steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Red Bull's Max Verstappen was third while championship leader Lewis Hamilton was fourth.

Mercedes driver Lewis Hamilton of Britain steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

It was Vettel's fifth victory under the lights in Singapore.

Mercedes driver Lewis Hamilton of Britain steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Mercedes driver Lewis Hamilton of Britain steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Mercedes driver Valtteri Bottas of Finland steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Mercedes driver Valtteri Bottas of Finland steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Ferrari driver Charles Leclerc of Monaco leads the field at the start of the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Ferrari driver Charles Leclerc of Monaco leads the field at the start of the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Ferrari driver Charles Leclerc of Monaco leads the field at the start of the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Ferrari driver Charles Leclerc of Monaco leads the field at the start of the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Red Bull driver Max Verstappen of the Netherlands steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Red Bull driver Max Verstappen of the Netherlands steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

It was the four-time F1 champion's first win since the 2018 Belgian Grand Prix.

Ferrari driver Sebastian Vettel of Germany steers his car on the way to win the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Ferrari driver Sebastian Vettel of Germany steers his car on the way to win the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Red Bull's Max Verstappen was third while championship leader Lewis Hamilton was fourth.

Leclerc started from pole and held the lead until he pitted on the 21st lap. When Leclerc rejoined, he was behind Vettel, who had pitted a lap earlier.

Leclerc made it clear over the team radio that he was not happy that Vettel pitted first and got the lead.

Ferrari driver Sebastian Vettel of Germany steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Ferrari driver Sebastian Vettel of Germany steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

It was Vettel's fifth victory under the lights in Singapore.

With six races remaining, Hamilton holds a 64-point lead over Mercedes teammate Valtteri Bottas, who finished fifth.

More AP sports: https://apnews.com/apf-sports and https://twitter.com/AP_Sports

Mercedes driver Lewis Hamilton of Britain steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Mercedes driver Lewis Hamilton of Britain steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Mercedes driver Lewis Hamilton of Britain steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Mercedes driver Lewis Hamilton of Britain steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Mercedes driver Valtteri Bottas of Finland steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Mercedes driver Valtteri Bottas of Finland steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoVincent Thian)

Ferrari driver Charles Leclerc of Monaco leads the field at the start of the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Ferrari driver Charles Leclerc of Monaco leads the field at the start of the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Ferrari driver Charles Leclerc of Monaco leads the field at the start of the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Ferrari driver Charles Leclerc of Monaco leads the field at the start of the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Red Bull driver Max Verstappen of the Netherlands steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)

Red Bull driver Max Verstappen of the Netherlands steers his car during the Singapore Formula One Grand Prix, at the Marina Bay City Circuit in Singapore, Sunday, Sept. 22, 2019. (AP PhotoLim Yong Teck)