Baltimore Orioles' Mark Trumbo, right, celebrates his two-run home run with Chris Davis (19) during the fourth inning of a baseball game against the Washington Nationals, Monday, Aug. 22, 2016, in Baltimore. (AP Photo/Nick Wass)
Baltimore Orioles' Mark Trumbo, right, celebrates his two-run home run with Chris Davis (19) during the fourth inning of a baseball game against the Washington Nationals, Monday, Aug. 22, 2016, in Baltimore. (AP Photo/Nick Wass) Credit: Nick Wass

Baltimore — Mark Trumbo hit his major league-leading 38th home run, Jonathan Schoop also went deep and the Baltimore Orioles beat the Washington Nationals, 4-3, Monday night in a matchup between neighboring contenders.

Rookie Dylan Bundy (7-4) pitched six innings of three-hit ball for the Orioles, who had lost five of their previous six games — all at home. The victory lifted Baltimore within two games of first-place Toronto in the AL East.

Bundy gave up two runs, walked four and struck out four. He’s 5-3 with a 3.56 ERA in eight games since joining the starting rotation on July 17.

Zach Britton worked a perfect ninth to earn his 38th save in 38 tries. The left-hander has not allowed an earned run in 43 games since May 5.

The Orioles did all their scoring against A.J. Cole (0-1) in his season debut. Cole was recalled from Triple-A Syracuse to replace scheduled starter Stephen Strasburg, who was placed on the 15-day disabled list with right elbow soreness.

Anthony Rendon and Danny Espinosa homered for the NL East-leading Nationals and Daniel Murphy had his 48th multihit game.

Dodgers 18, Reds 9

Cincinnati — Adrian Gonzalez hit three of the Dodgers’ seven homers — driving in a career-high eight runs — and rookie Corey Seager had a noteworthy homer as well on Monday, leading Los Angeles to a victory and a split of its four-game series with Cincinnati.

The NL West leaders enjoyed their biggest home run splurge in 10 years. They’ve won 10 of their last 12 games against Cincinnati.

Gonzalez started it with a three-run shot in the first inning off Homer Bailey (2-2), who had his worst showing since returning from Tommy John surgery. The first baseman also had a solo shot in the fifth, when the Dodgers connected four times overall.

Astros 3, Pirates 1

Pittsburgh — Doug Fister pitched seven scoreless innings, Teoscar Hernandez hit a two-run homer and Houston beat Pittsburgh.

Hernandez connected off fellow rookie Jameson Taillon (3-3) in the fifth inning after A.J. Reed’s leadoff walk. It was the third home run for Hernandez, who was called up from Triple-A Fresno on Aug. 12 to make his major league debut.

Brewers 4, Rockies 2

Milwaukee — Chris Carter homered and Jimmy Nelson won for the first time in seven starts as Milwaukee beat Colorado.

Nelson (7-13) gave up two runs and seven hits in six innings. He hadn’t pitched past the fifth in any of his previous six starts. Nelson struck out four and didn’t walk a batter for the first time this season.

The Rockies got a run in the first when David Dahl scored on a wild pitch by Nelson.

The Brewers tied it in the bottom of the inning when Jonathan Villar scored from third on an error by Colorado shortstop Daniel Descalso. Kirk Nieuwenhuis added a two-run single.

Carter’s solo homer to left in the third, his 30th of the season, off Chad Bettis (10-7) extended Milwaukee’s lead to 4-1.

Bettis gave up four runs and four hits. He struck out three and issued a career-high seven walks.