Baltimore's Nolan Reimold roped a pinch-hit, two-run homer off Cleveland's Cody Allen in the ninth inning and the Orioles completed a three-game sweep with a 5-3 victory over the Indians Sunday. After losing three straight games to the New York Yankees that knocked them out of first place, the Orioles rebounded this series and once again sit atop the American League East. Despite the losses, the Indians are still in first in the AL Central. Jonathan Schoop gave Baltimore a 3-2 lead in the fifth with his 17th homer of the season. The Indians tied the game in the eighth on an RBI single by Mike Napoli off Brad Brach. The Orioles rallied in the ninth when Pedro Alvarez struck out but took first base when catcher Roberto Perez dropped the ball and then hit Alvarez in the back with an errant throw to first. Alvarez moved to second on a bunt by Ryan Flaherty, and two batters later, Reimold hit a 2-0 pitch off Allen (2-4) for his homer. Yankees 5, Giants 2: Nathan Eovaldi pitched effectively into the seventh innings, Carlos Beltran and Mark Teixeira hit early home runs and New York concluded a 10-game homestand with a victory over San Francisco. Eovaldi (9-6) threw a season-high 118 pitches and allowed two runs and six hits in 6 2/3 innings, highlighting the outing by getting through a bases-loaded jam in the fourth unscathed. Red Sox 8, Twins 7: Hanley Ramirez and Travis Shaw slugged three-run home runs to help keep Rick Porcello perfect at Fenway Park as Boston beat Minnesota. It was Ramirez's 13th homer of the season and fifth in five games. He had a trio of two-runs blasts Tuesday against San Francisco and hit a three-run shot Saturday. Mets 3, Marlins 0: Steven Matz pitched six scoreless innings and Jose Reyes drilled a go-ahead RBI triple to lead New York over Miami. Reyes' second triple since being activated on July 5 drove in the game's first run. The Mets added two in the eighth on RBI singles from Yoenis Cespedes and James Loney. Matz (8-6), who had been 0-5 with a 4.79 ERA in his previous nine outings, turned things around by striking out six and allowing just four hits and two walks. He got eight ground ball outs and four fly-ball outs. Blue Jays 2, Mariners 0: J.A. Happ allowed one hit over six innings and Edwin Encarnacion hit a home run as Toronto defeated Seattle. The win was the 13th of the season for Happ, a career high for one season. Diamondbacks 9, Reds 8: Arizona homered four times, including two by Yasmany Tomas, and held on to beat Cincinnati. Paul Goldschmidt and Wellington Castillo also homered for the Diamondbacks, who avoided being swept in a three-game series at Great American Ball Park for the first time since 2007. Arizona's bullpen shut out the Reds until the ninth, when Tyler Clippard walked the first two batters before Jay Bruce launched a three-run homer, his 21st of the season, to cut the Reds' deficit to one run. Padres 10, Nationals 6: Yangervis Solarte had a go-ahead RBI single with two outs in the top of the ninth off closer Jonathan Papelbon as the Padres took two of three games in the series. Later in the ninth, Alexei Ramirez had his second hit, a three-run double to left off Papelbon, who had entered the game in the ninth with the score tied. Wilson Ramos was 3-for-4 with three RBIs and Daniel Murphy was 3-for-4 with two RBIs for the Nationals. Astros 13, Angels 3: Jose Altuve bashed two home runs and the Astros completed a three-game series sweep. The Astros improved to a season-best 10 games over .500 by recording their third consecutive series sweep of the Angels, who entered the series riding a six-game winning streak. Houston stretched its winning streak over Los Angeles to 11 games by clubbing a season-high five homers, with Altuve blasting his in consecutive at-bats. Rangers 2, Royals 1: A.J. Griffin and four Texas relievers held Kansas City Royals to seven hits in the Rangers' win. Griffin left after five innings and four hits, allowing a run on a Kendrys Morales home run. Rangers relievers Alex Claudio, Keone Kela, Jake Diekman and Sam Dyson held the Royals to one hit the final four innings. Claudio (2-1) claimed the victory. Other results: Cubs 6, Brewers 5; Pirates 5, Phillies 4; White Sox 5-4, Tigers 4-3; Athletics 3, Rays 2; Rockies 7, Braves 2; Dodgers 9, Cardinals 6.