Texas Rangers starting pitcher Yu Darvishthrows during the first inning against the Boston Red Sox Sunday in Arlington, Texas.

ARLINGTON, Texas — Yu Darvish struck out 14 and Adrian Beltre hit an RBI single with two outs in the ninth inning as the Texas Rangers beat Boston 4-3 Sunday, completing a three-game sweep and matching the Red Sox for the best record in the majors.

The Rangers, Red Sox and St. Louis all have 20-11 marks.

Beltre lined a hit to right-center off Clayton Mortensen (0-2) that sent home Elvis Andrus, who had reached on a two-out single and moved up on a wild pitch. The Red Sox then opted to intentionally walk Lance Berkman.

Darvish matched a career high for strikeouts and left after seven innings with the score tied. Rangers closer Joe Nathan (1-0), the third reliever, worked around a walk and a hit in the ninth.

While Darvish had 14 strikeouts for the second time this season, the right-hander from Japan allowed multiple homers in a game for only the second time in his 36 starts for the Rangers. David Ortiz and David Ross homered in the first two innings.

The game was 3-3 when Darvish threw the last of his career-high 127 pitches to end the seventh, denying him a chance at his sixth victory to equal the most in the majors.

He did up his majors-best strikeout total to 72.

His other 14-strikeout game for Darvish came in his first start this season, when he retired the first 26 Houston batters and was within one out of a perfect game before giving up a single April 2. The last time an American League pitcher had multiple 14-K games in a season was 2000, when Pedro Martinez had three and Mike Mussina two.

Red Sox left-handed starter Jon Lester, with a 4-0 record, also got a no decision after seven strikeouts in six innings. Like Darvish, he was hurt by two home runs.

The Rangers got on the board in the fourth on Mitch Moreland’s fourth homer, an opposite-field shot that landed only a couple of rows into the left-field seats — and just inside the pole.

Nelson Cruz hit his seventh homer, a two-run shot to center after Beltre’s single, to tie the game at 3 in the sixth.

Ortiz extended the longest hitting streak in the majors to 25 games, including all 13 of his games this season for Boston, when he pulled a pitch deep into the right-field stands for a two-run shot in the first. An inning later, Ross homered on hanging breaking ball over the middle of the plate.

After going his first 37 2-3 innings this season without giving up a long ball, Darvish gave up homers in three consecutive innings. He allowed a tying homer in his final frame against the Chicago White Sox his previous start Tuesday night, before the Rangers scored six runs in the bottom of that inning to give him a win.

NOTES: Ortiz is hitting .440 since his late debut this season because of an injured right Achilles that also limited him to 90 games last year, and has an extra-base hit in 11 of his last 12 games. ... Ross has nine hits this season, four of them homers. ... Leadoff hitter Jacoby Ellsbury was the only Red Sox player without a strikeout against Darvish. ... Dustin Pedroia snapped an 0-for-14 slide in the first with an two-out infield single on a dribbler down the third base line that Darvish fielded. Ortiz followed with his fourth homer. ... Ortiz’s 25-game hitting streak is the longest for the Red Sox since Pedroia’s 25-gamer from June 29-July 28, 2011. ... Texas goes back to Wrigley Field on Monday night to make up a rainout. The Rangers then go to Milwaukee for two games before series at Houston and Oakland. It will be the first time since 2004 that the Rangers leave for a road trip, return to Texas for games without playing in Arlington and then go back out of state for another series.