NEW YORK — Carlos Beltran hit a three-run homer with two outs in the ninth inning Friday night, lifting the New York Yankees to a 5-3 victory over the Baltimore Orioles for their fourth straight win.

NEW YORK — Carlos Beltran hit a three-run homer with two outs in the ninth inning Friday night, lifting the New York Yankees to a 5-3 victory over the Baltimore Orioles for their fourth straight win.

Beltran connected off Zach Britton (3-1) right after Brian McCann hit an RBI single. The Yankees struggled with runners in scoring position until the ninth.

Brett Gardner led off the ninth with a single. After Derek Jeter struck out looking and Jacoby Ellsbury flied out, Mark Teixeira walked.

McCann then singled home a run, setting up Beltran's first walkoff homer since 2008, for the New York Mets.

Tigers 6, Indians 4

At Cleveland, J.D. Martinez hit a three-run homer, Victor Martinez added a two-run shot, and Detroit held on to beat Cleveland.

Rick Porcello (9-4) pitched six scoreless innings for the Tigers, and Joe Nathan worked the ninth for his 15th save.

Mariners 7, Royals 5

At Kansas City, Mo., Brad Miller homered off Royals closer Greg Holland to break a ninth-inning tie, and Seattle won despite blowing an early five-run lead.

Charlie Furbush (1-4) inherited a bases-loaded, one-out jam in the eighth, but the Mariners reliever retired Mike Moustakas on a popup. Furbush then struck out Alcides Escobar to keep the game tied 5-5.

Astros 3, Rays 1

At St. Petersburg, Fla., Jarred Cosart pitched eight shutout innings and rookie George Springer's two-run homer sparked Houston.

Cosart (7-5) gave up six hits, retiring 12 straight at one point, in winning his third consecutive start.

Twins 5, White Sox 4

At Minneapolis, Brian Dozier's RBI-single with two outs in the bottom of the ninth inning rallied Minnesota.

Kurt Suzuki had three hits and an RBI, and the Twins picked up closer Glen Perkins (3-0), who gave up two runs in the top of the ninth to blow his third save in 21 chances.

Angels 7, Rangers 3

At Anaheim, Calif., Garrett Richards pitched six innings of four-hit ball, David Freese drove in two runs, and the Los Angeles Angels beat Texas for their seventh win in eight home games.

Josh Hamilton and Erick Aybar had RBI singles in the fifth inning as the Angels opened a six-game homestand with just their fourth win over the AL West-rival Rangers in 18 meetings.

Athletics 4, Red Sox 3

At Oakland, Calif., Coco Crisp drove in Kyle Blanks with a two-out single in the eighth inning for Oakland.

Josh Donaldson hit a three-run home run, his first in two weeks, to help the A's extend their winning streak to four games. Oakland (46-28) owns the best record in the majors.

National League

Cubs 6, Pirates 3

At Chicago, Starlin Castro hit a three-run homer as the Chicago Cubs opened a 10-game homestand with their fourth win in five games.

Edwin Jackson (5-7) pitched five innings and earned his first win in four matchups this year against Charlie Morton (4-8). He allowed three runs on Jordy Mercer's fifth homer and five hits. It was his second win in six starts.

Marlins 3, Mets 2

At Miami, left fielder Marcell Ozuna cut down the potential tying run at the plate in the eighth and ninth innings — including Kirk Nieuwenhuis to end the game.

Ozuna threw out Nieuwenhuis, who was trying to score on Chris Young's fly ball to left field. He also got David Wright to end the eighth after the Mets cut the deficit to 3-2.

Braves 6, Nationals 4, 13 inn.

At Washington, the Atlanta Braves survived closer Craig Kimbrel's two-out blown save in the ninth inning by scoring twice in the 13th.

Evan Gattis, who earlier extended his hitting streak to 19 games, singled in the go-ahead run off Jerry Blevins (2-3). Andrelton Simmons followed with an RBI groundout.

Phillies 5, Cardinals 1

At St. Louis, A.J. Burnett scattered seven hits for his first complete game of the year and Philadelphia won its season-high fifth in a row.

The Phillies' winning streak has come on the road. They have won nine of 11 overall.

Diamondbacks 4, Giants 1

At Phoenix, Josh Collmenter fought his way through five innings, Aaron Hill drove in two runs, and Arizona sent San Francisco to its sixth straight loss.

The Giants still lead the NL West, but have lost nine of 10 to see a lead that was once 91/2 games dwindle to less than four.

Brewers 13, Rockies 10

At Denver, Jean Segura homered twice and Ryan Braun had three hits in his 1,000th career game for Milwaukee.

Khris Davis also homered and Carlos Gomez extended his hitting streak to 16 games as the Brewers scored their most runs of the year and tied a season high with 19 hits.

Padres 6, Dodgers 5

At San Diego, Everth Cabrera's sacrifice fly capped a three-run ninth inning that rallied San Diego from a 5-3 deficit entering the final frame.

It was the Padres' third consecutive win and it snapped a three-game winning streak by the Dodgers.

Yasiel Puig, who had two RBIs for the Dodgers, left in the eighth inning with a mild left hip muscle strain.


Blue Jays 14, Reds 9

At Cincinnati, Edwin Encarnacion hit two three-run homers, and Toronto pulled off the second-biggest comeback in franchise history, rallying from an early eight-run deficit.

The Blue Jays overcame a 10-run deficit to beat Boston 13-11 in 12 innings in 1989.

Toronto hit four homers during its comeback, including the two by the major leagues' leader. Encarnacion started the comeback by connecting in the third inning off Mat Latos and finished it with his 23rd homer off Sam LeCure during a five-run ninth inning.