LOS ANGELES — Cody Bellinger singled home the winning run in the 13th inning, lifting the Los Angeles Dodgers to a 2-1 victory over the Milwaukee Brewers on Tuesday night and tying the NL Championship Series at two games apiece.

Bellinger grounded a 3-2 pitch from Junior Guerra into right field, scoring Manny Machado, who slid home and touched the plate with his left hand to beat the tag and end a thriller that took 5 hours, 15 minutes.

The Dodgers struck out 17 times; the Brewers fanned 15 times.

Game 5 is Wednesday afternoon at Dodger Stadium, with Wade Miley going for the Brewers against fellow lefty Clayton Kershaw.

With one out, Machado had a broken-bat single to left and went to second on Guerra's wild pitch.

Bellinger, who entered as a pinch hitter in the sixth, also had the defensive play of the game. He made a diving catch on his belly of a ball hit by Lorenzo Cain leading off the 10th, spreading his arms out and sliding like a snow angel in right field.

___

More AP MLB: www.apnews.com/tag/MLB and www.twitter.com/AP_Sports