BALTIMORE (AP) " Baltimore's Matt Wieters hit a tiebreaking two-run homer in the eighth inning to lift the Orioles to a 5-3 victory over Toronto on Tuesday, tightening the race for top spot in the American League East division.
The result trimmed the gap between the two teams to three games, separated by Boston.
It's not so close in the AL West as Texas maintained its 8-1/2 game gap by defeating Seattle in a dramatic finish and driving another nail into the Mariners' playoff ambitions.
The Chicago Cubs have the biggest divisional lead of them all, standing at 14 games in the National League Central after a shutout win against Pittsburgh, while Washington maintained its nine-game advantage in the NL East by edging Philadelphia.
Toronto looked a strong chance to extend its winning streak to five when Michael Saunders hit a tying two-run homer in the seventh inning, but the Orioles responded an inning later.
Jonathan Schoop walked with two outs in the eighth and Wieters followed with a drive beyond right field off Jason Grilli.
Texas' Rougned Odor hit a game-ending two-run homer in the Rangers' 8-7 victory over Seattle.
Odor's 25th homer of the season was a drive to the hill beyond center field, ending Seattle closer Edwin Diaz's run of converting his first 11 save chances this season.
Texas is now 10-1/2 games ahead of AL West rival Seattle, and the Mariners are also drifting from wildcard contention, four games off Baltimore, which holds the provisional last berth.
Chicago's Kyle Hendricks threw seven scoreless innings to guide the Cubs to a 3-0 win against Pittsburgh.
Hendricks, who allowed only one walk, lowered his majors-leading earned run average to a miserly 2.09 per nine innings.
Anthony Rizzo belted a two-run homer in the first and that proved enough for the Cubs to notch their 21st victory for the month of August. A further win over the Pirates on Wednesday would see them match the franchise record, set in 1932.
Washington's Max Scherzer struck out 11 in eight innings to steer the Nationals to a 3-2 win at Philadelphia.
Scherzer allowed only three hits, and Mark Melancon pitched a scoreless ninth for his 37th save of the season.
New York's Jacoby Ellsbury drove in the go-ahead run with two outs in the 10th inning and the Yankees escaped with a 5-4 win against Kansas City, having blown a four-run lead.
Brian McCann and Chase Headley started the Yankees' go-ahead rally with singles off Joakim Soria, who recovered to strike out Aaron Judge and Tyler Austin. But after Brett Gardner walked to load the bases, Ellsbury lined a single off Soria's leg for his fourth hit of the game.
Yankees reliever Chasen Shreve got a strike out and a fly out in the bottom of the tenth to end it and earn his first career save.
The Yankees' crosstown rivals, the Mets, also won as Curtis Granderson hit two homers in a 7-4 win against Miami.
By taking the first two games of the four-game series, the Mets moved ahead of slumping Miami for second place in the NL East but remained three games off an NL wildcard berth.
Detroit's Ian Kinsler homered and drove in four runs, helping the Tigers beat the Chicago White Sox 8-4.
Tampa Bay's Evan Longoria broke a tie with a solo homer in the eighth inning, clearing Fenway Park's "Green Monster" outfield wall to give the Rays a 4-3 win at Boston.
Houston's Collin McHugh threw six scoreless innings to lead the Astros past Oakland 3-1.
St. Louis' Zach Duke struck out the last batter with the bases loaded in the 10th inning to give the Cardinals a 2-1 win against Milwaukee.
Minnesota's losing sequence reached 12 games with a 5-4 defeat at Cleveland after Francisco Lindor drove in the go-ahead run in the fifth inning.
Los Angeles' C.J. Cron hit two home runs to help the Angels beat Cincinnati 4-2.
Atlanta's Julio Teheran won for the first time in 10 starts, pitching the Braves to a 7-3 win against San Diego.
This story has been automatically published from the Associated Press wire which uses US spellings