PHILADELPHIA — A.J. Burnett threw 62/3 sharp innings to win his eighth straight start, Casey McGehee hit a three-run homer and the Pittsburgh Pirates beat the Philadelphia Phillies 5-4 Thursday.

PHILADELPHIA — A.J. Burnett threw 62/3 sharp innings to win his eighth straight start, Casey McGehee hit a three-run homer and the Pittsburgh Pirates beat the Philadelphia Phillies 5-4 Thursday.

Pedro Alvarez also went deep for Pittsburgh, which split the four-game set in Philadelphia by winning the last two. The surprising Pirates, seeking their first winning season since 1992, are 40-35 and second in the NL central.

Burnett (9-2) allowed three runs and six hits, striking out seven. It's the first time a Pirates pitcher has won eight in a row since Dock Ellis in 1974.

Joel Hanrahan tossed a scoreless ninth for his 20th save.

Eric Kratz and Hunter Pence hit homers for the Phillies.

Kendrick (2-8) gave up five runs before he recorded a second out in the first.

Giants 5, Reds 0

At San Francisco, Madison Bumgarner pitched a one-hitter, allowing only Ryan Hanigan's solid single leading off the sixth ining, as San Francisco threw its franchise-record fourth straight shutout.

Bumgarner (10-4) struck out eight and walked two in winning his fifth straight decision.

The Giants became the 17th team to have four or more consecutive shutouts since 1918. The Baltimore Orioles did it most recently, with five straight in 1995.

San Francisco moved alone into the NL West lead for the first time this year.

Johnny Cueto (9-4) had his four-game winning streak halted for Cincinnati.

Rockies 11, Nationals 10,11 innings

At Denver, Marco Scutaro's RBI single in the 11th inning lifted Colorado after it squandered an early seven-run lead.

Jonathan Herrera doubled with one out off Craig Stammen (3-1). After pinch-hitter Jason Giambi walked, Dexter Fowler hit a fly ball to deep center that was caught by Bryce Harper. Herrera tagged up and took third on the play with pinch-runner Christian Friedrich advancing to second.

Diamondbacks 3, Braves 2

At Atlanta, Chris Young hit a tiebreaking homer against Atlanta closer Craig Kimbrel in the ninth inning to lifting Arizona.

Jason Kubel had a two-run double in the sixth to tie the score for the Diamondbacks.

Mets 3, Dodgers 2

At Los Angeles, David Wright hit a solo homer and RBI double as the New York Mets sent the Dodgers to their fifth straight loss.

Los Angeles ended its 33-inning scoreless drought in the fourth, with Dee Gordon getting congratulated up and down the dugout after crossing the plate.

Padres 7, Astros 3

At Houston, Alexi Amarista launched a grand slam for his first major league homer, capping a six-run rally in the ninth inning off Houston closer Brett Myers and lifting the San Diego Padres.

Andrew Cashner held Houston hitless for six innings in only his third big league start. Carlos Lee broke up the bid with a one-out single in the seventh and Brian Bogusevic followed with a homer for a 2-1 lead.

Angels 9, Blue Jays 7

At Toronto, rookie Mike Trout and Mark Trumbo each hit two-run homers, Alberto Callaspo added a solo shot and the Los Angeles Angels beat the Toronto Blue Jays for their 14th victory in 18 games.

Trout had two hits and raised his AL-leading average to .345. The Angels have won 14 of their last 15 road games.

White Sox 4, Yankees 3

At New York, Dayan Viciedo hit a three-run homer off David Robertson in the ninth inning after a throwing error, and the Chicago White Sox rallied past the Yankees.

Reliever Clay Rapada's wild toss to second base on a potential double-play ball set up the AL Central-leading White Sox. With closer Rafael Soriano not available after pitching the past two games, the Yankees had their five-game winning streak end.

Tigers 5, Rays 2

At St. Petersburg, Fla., Miguel Cabrera had four hits and drove in two runs, leading Max Scherzer and the Detroit Tigers over Tampa Bay.

Scherzer (7-5) allowed two runs and four hits in six-plus innings in his second start following the death of his brother earlier this month. Jose Valverde pitched the ninth for his 14th save in 17 opportunities.

Indians 7, Orioles 2

At Baltimore, Johnny Damon and Asdrubal Cabrera hit three-run homers, Shin-Soo Choo had a solo shot, and the Cleveland Indians beat Baltimore to end a five-game losing streak.

Recalled from Triple-A before the game, rookie Zach McAllister allowed two runs and seven hits over 52/3 innings.

Mariners 1, Red Sox 0

At Seattle, Felix Hernandez matched his career high with 13 strikeouts in a brilliant five-hit complete game and John Jaso's pinch-hit single in the bottom of the ninth scored Casper Wells to give the Mariners the win over the Boston Red Sox.

Hernandez (6-5) tossed his fifth career shutout and was one of the first ones out of the Mariners dugout after Wells' belly-flop onto home plate.

Rangers 7, Athletics 6

At Arlington, Texas, leadoff man Ian Kinsler got four hits, scored three runs and stole two bases, sending the Texas Rangers past the Oakland Athletics for their 11th win in 13 games.

Josh Hamilton, Adrian Beltre and David Murphy each drove in two runs for Texas in a game that lasted 3 hours, 54 minutes, the Rangers' longest nine-inning game of the season.