McMahon's 3-run homer lifts Rockies past Dodgers 3-2

Colorado Rockies' Charlie Blackmon, left, congratulates Ryan McMahon for his three-run, walk-off home run off Los Angeles Dodgers relief pitcher JT Ch

Colorado Rockies' Charlie Blackmon, left, congratulates Ryan McMahon for his three-run, walk-off home run off Los Angeles Dodgers relief pitcher JT Ch

Colorado Rockies' Ryan McMahon yells as he circles the bases after hitting a three-run, walk-off home run off Los Angeles Dodgers relief pitcher JT Ch

Colorado Rockies' Ryan McMahon yells as he circles the bases after hitting a three-run, walk-off home run off Los Angeles Dodgers relief pitcher JT Ch

Colorado Rockies' Ryan McMahon watches his three-run, walk-off home run off Los Angeles Dodgers relief pitcher JT Chargois  during a baseball game Sat

Colorado Rockies' Ryan McMahon watches his three-run, walk-off home run off Los Angeles Dodgers relief pitcher JT Chargois during a baseball game Sat

Los Angeles Dodgers shortstop Manny Machado hangs over the dugout rail to watch the Dodgers bat against the Colorado Rockies during the ninth inning o

Los Angeles Dodgers shortstop Manny Machado hangs over the dugout rail to watch the Dodgers bat against the Colorado Rockies during the ninth inning o

Colorado Rockies relief pitcher Seunghwan Oh works against the Los Angeles Dodgers in the eighth inning of a baseball game Saturday, Aug. 11, 2018, in

Colorado Rockies relief pitcher Seunghwan Oh works against the Los Angeles Dodgers in the eighth inning of a baseball game Saturday, Aug. 11, 2018, in

Colorado Rockies pinch-hitter Nolan Arenado reacts after beiing hit with a pitch thrown by Los Angeles Dodgers reliever JT Chargois in the ninth innin

Colorado Rockies pinch-hitter Nolan Arenado reacts after beiing hit with a pitch thrown by Los Angeles Dodgers reliever JT Chargois in the ninth innin

Los Angeles Dodgers' Yasiel Puig steals third base against the Colorado Rockies in the seventh inning of a baseball game Saturday, Aug. 11, 2018, in D

Los Angeles Dodgers' Yasiel Puig steals third base against the Colorado Rockies in the seventh inning of a baseball game Saturday, Aug. 11, 2018, in D

Los Angeles Dodgers' Yasiel Puig gestures as he crosses home plate after hitting a solo home run off Colorado Rockies starting pitcher Kyle Freeland i

Los Angeles Dodgers' Yasiel Puig gestures as he crosses home plate after hitting a solo home run off Colorado Rockies starting pitcher Kyle Freeland i

Los Angeles Dodgers starting pitcher Walker Buehler works against the Colorado Rockies in the first inning of a baseball game Saturday, Aug. 11, 2018,

Los Angeles Dodgers starting pitcher Walker Buehler works against the Colorado Rockies in the first inning of a baseball game Saturday, Aug. 11, 2018,

DENVER (AP) — Ryan McMahon hit a three-run home run with two outs in the ninth inning — his second go-ahead homer in as many nights — and the Colorado Rockies beat the Los Angeles Dodgers 3-2 on Saturday night.

McMahon's drive off reliever J.T. Chargois (2-4) cleared the right field wall just above the out-of-town scoreboard. He hit a go-ahead two-run homer in the seventh inning of Friday night's 5-4 victory over the Dodgers.

Bryan Shaw (4-5) picked up the victory with an inning of scoreless relief for the Rockies, who moved within 1½ games of their NL West rivals. The Dodgers are tied with the Arizona Diamondbacks for the division lead.

The Rockies, who were missing All-Star Nolan Arenado in the starting lineup because of a shoulder injury, were handcuffed most of the night by Walker Buehler, who pitched seven scoreless innings. He struck out six, walked three and benefited from three double plays.

With regular closer Kenley Jansen on the disabled list because of an irregular heartbeat, the Dodgers turned first to Caleb Ferguson, who pitched a hitless eighth. Scott Alexander fanned Carlos Gonzalez to start the ninth and was relieved by Chargois after giving up a double to Trevor Story.

Chargois hit pinch-hitter Arenado with a pitch before getting Ian Desmond to ground into a fielder's choice for the second out.

That brought up McMahon, who connected on a 1-0 offering, triggering an exuberant celebration around the plate. He tossed his batting helmet in the air and was doused with water and popcorn as he got bear hugs from his teammates.

Kyle Freeland struck out a career-high 10 in seven innings, allowing a pair of runs on six hits, but got into early trouble.

Freeland allowed a double to Manny Machado, followed by a run-scoring triple to Justin Turner in the first.

Yasiel Puig then connected on a 1-2 offering in the second, driving it deep into the left field bleachers for his 15th homer.

TRAINER'S ROOM

Dodgers: C Austin Barnes started in place of Yasmani Grandal, who was given a day off. ... LHP Alex Wood (hamstring) is expected to reinstated from the 10-day disabled list and start Tuesday's game against the San Francisco Giants. ... LHP Julio Urias took another step in his rehab from June 2017 shoulder surgery when he pitched 1 1/3 innings for Single-A Rancho Cucamonga on Friday night.

Rockies: Arenado was held out of the starting lineup because of a right shoulder strain that also forced him to leave Friday night's game early.

UP NEXT

Dodgers: LHP Rich Hill (5-4, 3.62 ERA) makes his first at Coors Field in 10 years. He last pitched at the hitter-friendly park on April 23, 2008, for the Chicago Cubs, when he allowed two runs on three hits in five innings.

Rockies: RHP Chad Bettis (5-2, 5.67 ERA) is slated to make his second start since being reinstated from the 10-day DL. Bettis, who returned from a blister on his right middle finger, allowed a season-high nine runs in 4 2/3 innings in a loss to Pittsburgh on Tuesday.

___

More AP baseball: https://apnews.com/tag/MLBbaseball and https://twitter.com/AP_Sports