UNDATED (AP) — It took a while, but the Pittsburgh Pirates finally won their ninth straight game, their longest winning streak since 2004. Pinch-hitter Russell Martin singled home the winning run in the 14th inning to give the Pirates a 2-1 win over Milwaukee. The game was delayed for 2 hours, 20 minutes in the second inning by rain.

Pittsburgh reached the midpoint of its season with the best record in the majors at 51-30.

In other major league action:

__ Major league home run leader Chris Davis of Baltimore belted his 31st home run in his first at-bat as Baltimore Orioles finished a weekend sweep of the New York Yankees 4-2. Manny Machado and Nate McLouth also went deep for the Orioles. Robinson Cano (kuh-NOH') homered for the Yanks, who lost their fifth straight.

— Madison Bumgarner scattered four hits over seven innings, Hunter Pence hit a two-run homer and the San Francisco Giants ended their six-game losing streak with a 5-2 victory over the Colorado Rockies. Colorado's Michael Cuddyer (kuh-DY'-ur) singled in the eighth off Sandy Rosario, extending his hitting streak to 27 games. Cuddyer has raised his average to .344, second best in the NL.

— The Boston Red Sox improved to an American League-leading 50-34 despite blowing a ninth-inning lead. Pinch-runner Jonathan Diaz scored from second on first baseman Josh Thole's (TOH'-leez) error in the bottom of the ninth, allowing the Bosox to beat Toronto 5-4. The Blue Jays knotted the score on Jose Bautista's solo homer in the ninth before Thole's miscue sent Boston to its fifth victory in six games.

— Jeremy Hellickson picked up his fifth win of the month by limiting Detroit to one run over six-plus innings of Tampa Bay's 3-1 triumph over the Tigers. Both benches were warned after Detroit's Rick Porcello hit Ben Zobrist with a pitch in the first, one day after Tigers star Miguel Cabrera was almost hit by Fernando Rodney.

— Justin Masterson tossed his major league-leading third shutout and picked up his 10th win by scattering six hits in Cleveland's 4-0 shutout of the Chicago White Sox. The Indians share the AL Central lead with the Tigers after completing their first four-game sweep of the White Sox since 1948, the last year Cleveland won the World Series.

— Yu Darvish won for the first time in eight starts since May 16, allowing no runs and four hits over 6 2/3 innings to pitch the Rangers past Cincinnati 3-2. Nelson Cruz had two hits and an RBI to help Darvish improve to 8-3.

— David Lough doubled three times before ripping a tiebreaking, three-run homer in the eighth inning of Kansas City's 9-8 verdict over Minnesota. Eric Hosmer also homered, Johnny Giavotella had three hits and Lough scored four times for the Royals.

— Josh Hamilton doubled home the tiebreaking run in the eighth and scored the insurance run on an error as the Angels downed Houston 3-1. C.J. Wilson struck out 10 and allowed three hits and no earned runs over seven innings as Los Angeles completed a 6-0 road trip.

— Atlanta completed a three-game sweep of division leaders as Freddie Freeman, Dan Uggla (UHG'-lah) and Brian McCann homered to power the Braves past Arizona 6-2. Trevor Cahill suffered his 10th loss for the Diamondbacks, who have gone 22 straight games without a win from their starting pitchers.

— Homers by Adam LaRoche, Jayson Werth, Kurt Suzuki and Ian Desmond allowed Washington to set a season-high for runs in a 13-2 pounding of the New York Mets. Desmond and Suzuki each had three RBIs to support Gio Gonzalez, who allowed three hits while striking out seven in seven shutout innings.

— Jeff Mathis launched a grand slam with one out in the bottom of the ninth to give Miami a 6-2 win over San Diego. The Marlins led 2-0 in the seventh until pinch-hitter Carlos Quentin hit a two-run homer.

— Jed Lowrie and Josh Donaldson homered and Tommy Milone overcame a rocky start to win for the first time in nearly four weeks as the Oakland Athletics held off St. Louis 7-5 in interleague play.

__ In another interleague game, Alfonso Soriano and Darwin Barney each doubled twice and the Chicago Cubs built a six-run lead before holding off the Seattle Mariners 7-6.

— Yasiel Puig (yah-SEEL' pweeg) ended his sensational first month in the major leagues with his first four-hit game and the Los Angeles Dodgers beat the Philadelphia Phillies 6-1. Stephen Fife scattered four hits over seven scoreless innings.

More From AM 1400 The Cowboy