WASHINGTON — Bryce Harper hit a two-run homer in the third inning and a game-ending, three-run drive with two outs in the ninth, leading the Washington Nationals over the Philadelphia Phillies 6-4 on Sunday.

Harper’s first home run, off Jerad Eickhoff, broke a 1-1 tie. The Nationals trailed 4-3 in the ninth when Joaquin Benoit (0-1) walked Chris Heisey with one out and Adam Eaton singled.

Anthony Rendon flied out, and Harper worked the count full before driving a 97 mph fastball to center for his fourth home run this season.

PIRATES 6, CUBS 1: Adam Frazier homered and Pittsburgh scored six runs in the final two innings sweep the Cubs in Chicago.

The Pirates went just 4-14 against the Cubs last year, including 1-8 at Wrigley Field. Pittsburgh’s last three-game sweep at Wrigley was in September 2014.

ROCKIES 4, GIANTS 3: Antonio Senzatela settled down after a rough first inning, holding San Francisco scoreless on four hits over the next six innings to win his second straight start as Colorado won on the road.

BRAVES 9, PADRES 2: Bartolo Colon allowed only hit in seven dominant innings, Brandon Phillips drove in three runs with three hits and Atlanta won at home.

MARLINS 4, METS 2: J.T. Riddle launched a two-run homer with two outs in the ninth inning and Miami won at home.

BREWERS 4, METS 2: Ryan Braun hit a go-ahead two-run homer, Eric Thames added a solo shot and Milwaukee won in Cincinnati.

DIAMONDBACKS 3, DODGERS 1: Taijuan Walker pitched five solid innings and Arizona won in Los Angeles after Dodgers starter Rich Hill was pulled with more blister problems.

Hill (1-1) was activated from the disabled list before this start after missing time because of a blister on his left middle finger, but he re-aggravated the blister and made it only three innings and 54 pitches before leaving. The left-hander allowed two runs, five hits and two walks and struck out two.

American League

ROYALS 1, ANGELS 0: Alcides Escobar hit an RBI single in the ninth inning and Kansas City, boosted by a strong effort from starter Ian Kennedy, edged Los Angeles for its fourth straight win, in Kansas City, Missouri.

Salvador Perez led off the ninth with a single against Blake Parker, and pinch runner Raul Mondesi stole second and went to third on a wild pitch. After Mike Moustakas walked, Cam Bedrosian relieved and Paulo Orlando fouled out. Escobar followed with his winning hit.

WHITE SOX 3, TWINS 1: Avisail Garcia had a career-high four hits, including an opposite-field, two-run homer in the 10th inning that led Chicago in Minneapolis.

Leury Garcia doubled off Ryan Pressly (0-2) leading off the 10th and advanced on Tyler Saladino’s sacrifice.

After Jose Abreu struck out, Avisail Garcia drove a high fastball over the seats and into the right-field plaza.’

ORIOLES 11, BLUE JAYS 4: Trey Mancini hit two home runs, Dylan Bundy pitched six shutout innings and Baltimore won at struggling Toronto.

TIGERS 4, INDIANS 1: Matthew Boyd allowed one run in six innings, Alex Avila hit a two-run homer and Detroit won in Cleveland.

MARINERS 8, RANGERS 7: Nelson Cruz singled home the tiebreaking run to cap a two-run, ninth-inning rally, and Seattle overcame a five-run deficit to beat Texas for a three-game sweep in Seattle.