Philadelphia Phillies starting pitcher Jake Arrieta delivers during the first inning of a baseball game against the Boston Red Sox at Fenway Park in Boston, Tuesday, July 31, 2018. (AP Photo/Charles Krupa)
Philadelphia Phillies starting pitcher Jake Arrieta delivers during the first inning of a baseball game against the Boston Red Sox at Fenway Park in Boston, Tuesday, July 31, 2018. (AP Photo/Charles Krupa) Credit: Charles Krupa

Boston — Jake Arrieta struck out seven in seven strong innings and the Philadelphia Phillies snapped a four-game slide with a 3-1 win over the Boston Red Sox on Tuesday night.

Jorge Alfaro hit an RBI double in the second, Scott Kingery drove in a run with a sacrifice fly in the fourth and Carlos Santana added an RBI single for a key run in the ninth after Rhys Hoskins led off with a double.

That was all the offense the Phillies would need to earn a split in a two-game visit to Boston despite leaving 13 on base and going 1 for 8 with runners in scoring position.

Arrieta (9-6) allowed only one run and six hits to finish July 4-0 in six starts. Tommy Hunter pitched a perfect eighth and Seranthony Dominguez closed it out for his 11th save, although he did make it interesting by walking J.D. Martinez and hitting Xander Bogaerts with a pitch to open the ninth.

Martinez drove in Boston’s only run with a double in the sixth after Blake Swihart led off with a single.

Drew Pomeranz (1-5) threw five innings and held the Phillies to two runs and three hits, but hurt himself with four walks and two hit batters.

Maikel Franco went 2 for 3 and scored twice Philadelphia, which hosts Boston for two games in two weeks.

The Phillies scored first on a double to left-center by Jorge Alfaro after Franco walked with one out in the second.

Philadelphia added another run in the fourth on a sacrifice fly to center by Scott Kingery.

The ball wasn’t very deep and Bradley had a chance to get Franco tagging up, but his throw was slightly up the third-base line and Franco beat the tag and gave Philadelphia 2-0 lead.

Ian Kinsler, making his debut for Boston after coming over in a trade with the Los Angeles Angels on Monday night, singled in the fourth.

Trainer’s Room: The Phillies added C Wilson Ramos in a trade with Tampa Bay. Ramos is on the DL with a left hamstring strain and isn’t likely to make his debut for the Phillies until mid-to-late August, general manager Matt Klentak said. … Boston recalled RHP Brandon Workman from Triple-A Pawtucket.

Up Next: Red Sox LHP Brian Johnson (1-3, 3.45) starts in place of injured Chris Sale on Thursday night against the New York Yankees and LHP CC Sabathia (6-4, 3.53).