SAN FRANCISCO (AP) — Clayton Kershaw pitched NL-leading Los Angeles to its first win in nearly two weeks, helping the Dodgers snap the club's worst skid since moving West at 11 games by beating the San Francisco Giants 5-3 on Tuesday night.

The Dodgers' losing streak was their worst in 25 years, topping a pair of 10-gamers in L.A. from 1961 and '92. The 1944 Brooklyn team lost 16 straight games.

Kershaw (17-3) took a share of the major league wins lead with Milwaukee's Zach Davies.

Kenley Jansen recorded the final four outs for his 37th save but surrendered three straight singles with one out in the ninth to face a bases-loaded jam. He struck out Buster Posey and Nick Hundley to end it. Catcher Yasmani Grandal pumped his right fist and Jansen pounded his chest as the Dodgers hustled out of their dugout.