BOSTON — The Boston Red Sox finished off a dazzling three-game demolition of the Oakland Athletics on Wednesday night.

Sizzling Jackie Bradley Jr. hit two more home runs, and he drove in six runs for the second time in the series, and Dustin Pedroia also homered to power Boston to its third straight blowout of the A’s, a 13-3 rout that ran Oakland’s losing streak to five games.

The Red Sox, winners of four straight, remained percentage points behind the Baltimore Orioles for the American League East lead.

Boston reached double figures in runs in three consecutive games for the first time since running off four in a row at the Chicago White Sox from Aug. 24-26, 2007.

Bradley extended his hitting streak to 17 straight games and recorded his second career two-homer game. He drove in 13 runs in the series.

Christian Vazquez and Xander Bogaerts both collected three hits, Chris Young had a pair of doubles and Hanley Ramirez ripped a two-run double in the season-high 17-hit Red Sox attack. Boston ran up 40 runs on 48 hits in the three games.

It is the first time since 1999 and the seventh time in the last 100 years a team scored 13 runs three games in a row. The Red Sox have homered in 12 straight games and have 27 homers in the past 16 games.

The A’s gave up at least 11 runs in four straight for the first time in Philadelphia/Kansas City/Oakland history. It is the third time they allowed double figures in four straight (1930, ’99). They have been outscored 56-20 during their five-game losing skid.

The 1929 Philadelphia Phillies allowed at least 11 runs in six straight, and the A’s joined the 1951 Pittsburgh Pirates, the 1986 Milwaukee Brewers and 2007 Astros as the only teams since with four in a row.

Boston starter Rick Porcello wasn’t as good as he has been, but made it through 6 2/3 innings with the major run support and raised his record to 6-1 in seven starts. He allowed three runs on six hits.

Oakland starter Eric Surkamp, recalled to start the game, lasted 2 2/3 innings and dropped to 0-3 in five big league starts this year. He gave up four runs on four hits.

Just as they had done in the opener of the series, the A’s scored first, taking a 1-0 lead in the second inning on a two-out RBI double by Yonder Alonso. Bradley wiped that with one swing, his three-run shot making it 3-1.

Khris Davis’ two-out, two-run single tied the game in the third, but Young’s second double untied it and chased Surkamp, who has a big-league ERA of 6.55 after his fifth start.

In the fourth, Pedroia, who walked, stole second and scored in the third, followed a Mookie Betts single with his sixth homer of the year, off righty Ryan Dull.

The A’s loaded bases against Porcello with two out in the fifth, but Stephen Vogt grounded out on Porcello’s 96th pitch to kill the threat.

In the bottom of the inning, Travis Shaw singled off reliever Marc Rzepczynski, stole second (no one covered) and took third on a Christian Vazquez single. Bradley then hit a deep fly to center that Billy Burns misjudged for an RBI double. Betts bounced the ball to shortstop Marcus Semien, who looked toward home and lost the play at first as another run scored — but the A’s challenged the call at first and won.

It didn’t help — as the Sox loaded the bases with two out and Ramirez doubled home two to make it 10-3.

Scherzer strikes out 20

WASHINGTON — In a pitcher’s duel that lived up to the hype, Max Scherzer allowed two runs and struck out 20 to tie a major league record as the Washington Nationals beat his former team, the Detroit Tigers, 3-2 on Wednesday.

Scherzer, who walked none, struck out the side in the eighth to give him 18 strikeouts and set a Nationals franchise record. He finished by throwing 119 pitches, 96 for strikes (81 percent).

He gave up a solo homer to J.D. Martinez to start the ninth as the Tigers cut the lead to 3-2. But Scherzer then struck out Miguel Cabrera, allowed a single to Victor Martinez, fanned Justin Upton and got James McCann on a grounder to end the game.

Washington’s Daniel Murphy had his second hit of the game, a liner to left, to drive in the tie-breaking run in the sixth to give the Nationals a 2-1 lead off Detroit starter Jordan Zimmermann (5-1). His hit scored Anthony Rendon, who had singled and stolen base before a walk to Bryce Harper.

The Tigers escaped more damage as Murphy was thrown out in a rundown after his single for the first out of the inning. Former National Zimmermann then got Jayson Werth to hit into a double play to end the sixth.

But Danny Espinosa hit a solo homer off Zimmermann in the seventh to give the Nationals a 3-1 lead. Murphy doubled in the eighth for his third hit but he was overshadowed by Scherzer (4-2), who allowed just six hits. He struck out 17 last October in a no-hitter at New York against the Mets.