The Dodgers' 11-game losing streak is finally over.
Visiting Los Angeles scored four runs in the fourth inning and held on to edge San Francisco 5-3 on Tuesday night, clinching a postseason berth.
Chase Utley hit a solo homer to start the big inning. Corey Seager had a sacrifice fly and Yasiel Puig a two-run double to give the Dodgers a 4-1 lead. After the Giants closed within 4-3 on single runs in the sixth and seventh innings, Justin Turner gave Los Angeles a two-run cushion with an RBI double in the eighth.
San Francisco got three hits in the ninth off reliever Kenley Jansen to load the bases with one out. Jansen then struck out Buster Posey and Nick Hundley to end the game.
Milwaukee 5, Pittsburgh 2: Eric Thames hit his 29th home run, Domingo Santana went 3-for-4 with two RBI and the host Brewers beat the Pirates.
St. Louis 13, Cincinnati 4: Paul DeJong homered, Yadier Molina drove in three runs and the Cardinals beat the visiting Reds. St. Louis has won four in a row.
Chicago 8, New York 3: Kris Bryant hit a three-run homer, Jose Quintana pitched seven effective innings and the host Cubs beat the Mets to end a three-game losing streak.
Philadelphia 9, Miami 8 (15): Nick Williams hit a walk-off, two-out double in the bottom of the 15th inning for the Phillies.