Dodgers beat Rockies 5-2 on emotional night for Scully

Los Angeles Dodgers broadcaster Vin Scully gestures in his booth during a baseball game between the Los Angeles Dodgers and the Colorado Rockies, Friday, Sept. 23, 2016, in Los Angeles. Scully's final game at Dodger Stadium will be Sunday against the Rockies. (AP Photo/Jae C. Hong)

LOS ANGELES (AP) Joc Pederson and pinch-hitter Andre Ethier hit back-to-back home runs in the fourth inning and the Los Angeles Dodgers defeated the Colorado Rockies 5-2 on Friday night after an emotional pre-game ceremony honoring Vin Scully.

Their third straight victory trimmed the Dodgers' magic number for clinching a record fourth consecutive NL West title to two. Their division lead increased to seven games after San Francisco lost at San Diego 7-2.

Pederson worked the count to 3-2 during a nine-pitch at-bat before homering off Jon Gray (10-9) with two outs. Ethier followed with his first homer of the season into the lower right field seats, extending the Dodgers' lead to 4-0.

Yasmani Grandal's RBI single gave Los Angeles a 2-0 lead in the first. Corey Seager scored from third and Colorado catcher Tom Murphy had his back to the plate as he fielded the throw from right field, allowing Justin Turner to score from second.

Ross Stripling (5-8) got the win in relief of injured Scott Kazmir. The rookie right-hander allowed two hits in three innings, struck out four and walked two.