BALTIMORE — Jonathan Schoop hit a tie-breaking two-run triple in the seventh inning, and the Baltimore Orioles rallied from a five-run deficit to beat the Detroit Tigers 7-5 on Thursday night for their fifth straight victory.

After hitting 12 homers in their previous three games, the Orioles stormed back without the benefit of the long ball. Schoop’s triple was the only extra-base hit in a seventh inning that included five singles.

Baltimore trailed 5-0 in the sixth. Detroit starter Mike Pelfrey allowed two runs in 51/3 innings, but the collapse of the Detroit bullpen left the right-hander winless in 15 starts since Aug. 12.

Alex Wilson gave up three runs in the seventh and Justin Wilson (0-1) yielded the last two.

YANKEES 7, ROYALS 3: Chase Headley, Starlin Castro and Didi Gregorius hit early home runs and New York sent the World Series champion Royals to their 12th loss in 16 games.

Kansas City dropped 3 of 4 at Yankee Stadium. Before the game, Manager Ned Yost insisted he wasn’t worried about his team, saying “it’s a group that doesn’t panic.”

Nathan Eovaldi (3-2) worked around eight hits in five innings, and overcame getting struck on the leg by Lorenzo Cain’s hard one-hopper at the outset.

NATIONAL LEAGUE

PHILLIES 7, BRAVES 4: Cameron Rupp hit a three-run double with two outs in the 10th inning, and Philadelphia won at Atlanta after blowing a four-run lead.

PADRES 3, BREWERS 0: James Shields had a season-high nine strikeouts in seven innings as the Padres won at Milwaukee.

San Diego won its third straight game for the first time this season.

NOTES

ROYALS: Struggling pitchers Chris Young and Kris Medlen were put on the disabled list.

An MRI on Wednesday determined Young has a strained right forearm, and Medlen has right rotator cuff inflammation.

Dillon Gee and Danny Duffy will fill in as starters while Young and Medlen are out.

MARLINS: Left-handed reliever Joe Beimel agreed to terms and will report to extended spring training pending a physical.

The 39-year-old Beimel has pitched in 676 games. Last year he had a 3.99 ERA in 471/3 innings with Seattle.

METS: Noah Syndergaard’s recent visit to a doctor to have his right elbow examined revealed nothing, much to the team’s relief.

The right-hander had complained of elbow stiffness after his May 1 start at San Francisco.