The Associated Press

BOSTON — Max Muncy drew a bases-loaded walk and Alex Verdugo had an RBI single during a three-run 12th inning, and the Los Angeles Dodgers beat the Boston Red Sox 7-4 Sunday night in another late-night showdown of last year’s pennant winners.

After playing 18 innings spanning 7 hours, 20 minutes in Game 3 of last year’s World Series, the teams needed 5:40 to decide this series finale. It was Los Angeles’ third win in 14 tries at Fenway Park.

Boosted by a large and loud contingent of Dodgers fans, Los Angeles took the final two of a three-game set against the defending champs and sent Boston to its first interleague series loss in Fenway Park since losing to the Chicago Cubs in 2014.

Boston rallied with back-to-back homers from Xander Bogaerts and J.D. Martinez in the eighth inning but then stranded seven runners over the final four innings.

Also Sunday:

Angels 6, Mariners 3: ANAHEIM, Calif. — Rookie Matt Thaiss hit a tiebreaking three-run homer in the eighth inning, and Los Angeles completed a three-game sweep.

Rays 4, Orioles 1: BALTIMORE — The Rays took a combined perfect game into the ninth inning before Hanser Alberto beat the shift with a leadoff single, taking some of the edge off their victory over the Orioles.

Yankees 5, Blue Jays 2: NEW YORK — Masahiro Tanaka pitched six strong innings, Gio Urshela drove in two runs, and New York beat Toronto.

Phillies 4, Nationals 3: PHILADELPHIA — Maikel Franco homered in the bottom of the ninth inning and Philadelphia avoided a sweep by Washington.

Athletics 3, White Sox 2: OAKLAND, Calif. — Chad Pinder scored from first base when White Sox shortstop Jose Rondon made a throwing error trying to start a double play in the ninth inning and Oakland beat Chicago.

Astros 12, Rangers 4: ARLINGTON, Texas — Justin Verlander followed a two-run first inning with five no-hit innings and Jose Altuve hit Houston’s franchise-record ninth grand slam of the season.

Giants 8, Brewers 3: MILWAUKEE — Tyler Beede pitched effectively into the seventh inning, had two hits and drove in the go-ahead run in San Francisco’s win over Milwaukee.

Cubs 8, Pirates 3: CHICAGO — Jason Heyward, Albert Almora Jr. and Kyle Schwarber hit home runs and Chicago completed a three-game sweep of Pittsburgh.

Braves 4, Padres 1: SAN DIEGO — Freddie Freeman hit a three-run homer in the eighth inning and rookie Mike Soroka struck out a career-high nine to win his 10th straight decision as Atlanta finished off a three-game sweep.

23641166