Baltimore Orioles starting pitcher Chris Tillman (30) makes a play at first base during a baseball game against the New York Yankees in New York, Thursday, July 21, 2016. Tillman was the winning pitcher in the Orioles 4-1 victory over the Yankees. (AP Photo/Kathy Willens)
Baltimore Orioles starting pitcher Chris Tillman (30) makes a play at first base during a baseball game against the New York Yankees in New York, Thursday, July 21, 2016. Tillman was the winning pitcher in the Orioles 4-1 victory over the Yankees. (AP Photo/Kathy Willens)

Washington — Justin Turner homered twice and drove in five runs and the Los Angeles Dodgers ended Stephen Strasburg’s undefeated streak by beating the Washington Nationals 6-3 on Thursday.

Turner hit his 16th and 17th home runs, a two-run shot off Strasburg in the first and a three-run shot off the right-hander in the third, to set a career high.

Howie Kendrick extended his hitting streak to 13 games, and Adrian Gonzalez also drove in a run for the Dodgers. They beat the Nationals for the fifth time in six games this season.

Strasburg (13-1) lost for the first time since Sept. 9, ending a run of 16 consecutive winning decisions. Making it through the sixth, he allowed a season-high six earned runs and seven hits — all in the first three innings — and struck out 10.

Before Strasburg could settle down, the Dodgers crushed the ball against him, including a double off the left-field wall from Gonzalez and Turner’s two home runs. At one point Strasburg struck out seven of nine Los Angeles batters and allowed just one base runner after the third.

Orioles 4, Yankees 1

New York — Chris Tillman tied for the major league lead with his 14th victory, pitching four-hit ball for seven innings and helping depleted Baltimore avert a four-game sweep at Yankee Stadium.

The Orioles had lost four straight overall, costing them their lead in the AL East.

Baltimore slugger Chris Davis, shortstop Manny Machado and manager Buck Showalter returned from a stomach bug that’s hit the clubhouse. But Orioles center fielder Adam Jones didn’t play because of back spasms, catcher Matt Wieters missed his third consecutive game after being hit by a pitch in the foot and rookie outfielder Joey Rickard sat out with an injured thumb.

Tillman (14-2) matched White Sox ace Chris Sale for the most victories in the majors. Tillman gave up three hits and two walks to the first eight batters, capped by Starlin Castro’s RBI single. The tall right-hander then set down 16 of his final 17 hitters.

Brad Brach pitched the eighth and Zach Britton closed for his 30th save in as many chances.

CC Sabathia (5-8) lost on his 36th birthday.

Cardinals 6, Padres 5

St. Louis — Aledmys Diaz’s walk-off single in the ninth inning gave St. Louis a comeback victory over San Diego.

St. Louis scored four runs — the last three on Stephen Piscotty’s homer — to tie it in the eighth and went on to its first four-game series sweep at home since beating Colorado on Sept. 30-Oct. 3, 2010.

Tommy Pham led off the ninth with a double off reliever Carlos Villanueva (1-1). With the bases loaded and one out, Diaz ripped a 3-2 pitch to left for the winner.

Yangervis Solarte homered in the eighth inning to extend the Padres’ franchise-record home run streak to 19 consecutive games.

Pirates 5, Brewers 3

Pittsburgh — Francisco Liriano took another step toward putting his season-long control issues behind him, striking out 13 in Pittsburgh’s victory over Milwaukee.

Liriano (6-9) gave up three runs and four hits in 6 innings and didn’t issue a walk for just the second time in 19 starts. The left-hander entered the game having issued a major league-high 62 walks.

Mark Melancon worked the ninth for his 28th save.

Marlins 9, Phillies 3

Philadelphia — Tom Koehler pitched eight strong innings, Ichiro Suzuki moved within four hits of 3,000 for his career and Miami pounded out 16 hits against Philadelphia.

Christian Yelich homered, and the Marlins won three of four over the Phillies to cap a seven-game road trip at 5-2. Miami moved 1½ games ahead of idle New York for the second NL wild-card spot.

Koehler (7-8) rebounded from a month-long slump with arguably his best outing of the season. He gave up two hits and only one of his three runs allowed was earned while striking out five and walking one.

Ryan Howard and Freddy Galvis homered for Philadelphia.

Jerad Eickhoff (6-11) was the loser.