NEW YORK (AP) -- Ryan Dempster extended his scoreless streak to 27 innings in his first start in three weeks, and Starlin Castro hit a three-run homer for the Cubs.
Dempster (4-3) was activated from the disabled list, then pitched five innings of four-hit ball. It was his first outing since June 15, when he experienced tightness in a back muscle. His lengthy string of zeros is the Cubs’ best for a starter since Ken Holtzman went 27 innings in 1971.
Geovany Soto hit a two-run single in Chicago’s four-run first.
Jonathon Niese (7-4) allowed seven runs and nine hits in seven innings for New York.
PIRATES 13, GIANTS 2
PITTSBURGH (AP) -- Andrew McCutchen hit two home runs, Neil Walker had five hits and the Pittsburgh Pirates routed the San Francisco Giants 13-2 on Sunday.
The NL Central-leading Pirates have won six of seven and 10 of 12. They are 34-19 since May 12 for the best record in the majors over that stretch.
Casey McGehee went 3 for 4 with two RBIs for Pittsburgh (48-37), which is 11 games over .500 for the first time since 1992 and in first place at the break for the first time since 1997. A.J. Burnett (10-2) pitched effectively into the seventh to win his ninth consecutive decision.
Giants pitcher Tim Lincecum (3-10) failed to get out of the fourth inning for the second consecutive start and was charged with six runs and seven hits. The two-time Cy Young Award winner enters the break with a 6.42 ERA that is worst in the majors among qualifying starters.
Pablo Sandoval hit a two-run homer for San Francisco, which has lost five of six and seven of nine.
BRAVES 4, PHILLIES 3
PHILADELPHIA (AP) -- Brian McCann homered for the fourth consecutive game and Dan Uggla hit a two-run shot to lead the Braves to the three-game series sweep.
McCann hit a grand slam on Friday and a solo shot on Saturday. He then hit the go-ahead homer in the seventh inning against Raul Valdes (2-2) in the series finale.
The five-time NL East champion Phillies stumbled into the All-Star break. They have lost 10 of 11 and are 13 games under .500 (37-50).
Jason Pridie homered, doubled and had three RBIs as a last-minute replacement for Shane Victorino. The Phillies did not say why Victorino was scratched after the badly slumping outfielder was scheduled to hit seventh.
Jair Jurrjens (3-2) pitched seven innings to get the win. Craig Kimbrel earned his 25th save.
RAYS 7, INDIANS 6
CLEVELAND (AP) -- All-Star Chris Perez blew his first save since opening day and the Tampa Bay Rays scored three runs in the ninth inning to beat the Cleveland Indians 7-6 Sunday.
Will Rhymes hit a solo homer with one out and Carlos Pena added a RBI triple after Elliot Johnson singled to tie it at 6 off Perez (0-2), who had converted 25 straight saves since giving up a lead April 5. Ben Zobrist then singled home Pena with the go-ahead run before Perez got two strikeouts to end the inning.
BLUE JAYS 11, WHITE SOX 9
CHICAGO (AP) -- Colby Rasmus hit one of four Blue Jays homers and had three RBIs to help Toronto end the White Sox’s five-game winning streak.
The first-place White Sox go to the All-Star break with a 47-38 record and a three-game lead in the AL Central. Chicago manager Robin Ventura was ejected in the top of the ninth after charging to the plate to heatedly argue a ball and strike call with home plate umpire D.J. Reyburn.
Jason Frasor (1-1), the third of five Blue Jays’ relievers, was credited with the win and Casey Janssen pitched the final 1 2-3 innings for his 12th save in 13 chances.
TIGERS 7, ROYALS 1
DETROIT (AP) -- Delmon Young homered for the fourth consecutive game, Prince Fielder hit a three-run shot and Jhonny Peralta homered and drove in three runs in the Tigers win over the Royals to complete a sweep of the three-game weekend series.
The power display backed Max Scherzer (8-5), who allowed a run and five hits over seven innings, walking one and striking out seven.
It was the Tigers’ season-high fifth-straight win and put them two games over .500 - heading into the All-Star break - for the first time since April 25 (10-8).
Peralta was 3-for-4 with two doubles.
Salvador Perez homered for Kansas City. Royals’ starter Everett Teaford (1-2) took the loss.
ANGELS 6, ORIOLES 0
ANAHEIM, Calif. (AP) -- Brad Mills pitched five innings of three-hit ball in a spot start for the injured Dan Haren after getting called up from the minors, and the Angels got home runs from Albert Pujols, Erick Aybar, Mike Trout and Mark Trumbo in a victory over the Orioles.
Mills (1-0) threw 88 pitches on three days rest in his Angels debut with six strikeouts and no walks.
LaTroy Hawkins, Kevin Jepsen and Jordan Walden each pitched an inning of relief and first-time All-Star Ernesto Frieri closed out the combined five-hitter for his 12th save in as many attempts.
Rookie Wei-Yin Chen (7-5) lost his fourth straight start after winning his previous three outings.