AMERICAN LEAGUE: Athletics 5, Tigers 4

Jed Lowrie hit a tiebreaking solo homer in the top of the ninth inning to lift Oakland to a victory over host Detroit Monday on a historic day for Athletics starter Edwin Jackson.

Jackson allowed a run and six hits in six innings in his first appearance for the A’s, tying a record by playing for his 13th major league team. Called up from Triple-A, the 34-year-old righty matched the mark for most clubs set by former reliever Octavio Dotel.

“It’s always good to be wanted,” Jackson said. “When I can’t find a team that wants to bring me in, then I guess it’ll be time to sit it down. But until then, I like to come out. I like to compete, to have fun. I feel like I still have something in me and that I can bring value to a team.”

Jed Lowrie hit a tiebreaking solo homer in the top of the ninth. The A’s trailed 4-1 after Detroit’s Nicholas Castellanos hit a three-run homer in the seventh, but Oakland scored three in the eighth off Joe Jimenez to tie it. Then Lowrie connected for his 12th home run of the year, barely fair down the line in right field off a cutter from Shane Greene (2-4).

Lou Trivino (6-1) got the win in relief, and Blake Treinen pitched the ninth for his 18th save in 20 chances. The A’s have won seven of nine.

Jordan Zimmermann pitched five scoreless innings for the Tigers, but that wasn’t enough to prevent Detroit’s sixth straight loss.

“I felt good,” Zimmermann said. “I threw a lot of sliders today, and they were pretty good.”

Stephen Piscotty and Jonathan Lucroy had three hits apiece for Oakland. Piscotty hit a solo homer in the seventh to tie it at 1. The A’s have homered in a record 26 consecutive road games.

The 34-year-old Jackson allowed six hits and struck out seven with no walks. It was his first start since Sept. 28, when he was with Washington.

Royals 2, Angels 0

Brad Keller pitched seven innings of two-hit ball, Lucas Duda and Rosell Herrera drove in the only runs and host Kansas City beat Los Angeles in the makeup of a game that was frozen out in April.

Kevin McCarthy struck out Chris Young and retired Ian Kinsler to strand a runner on third base in the eighth, and Wily Peralta ended the three-hitter by working around Albert Pujols’ single in the ninth.

It was the first save for the longtime starter in 136 career big league games.

Keller (2-2) struck out six and walked two in his fifth career big league start. Nobody reached second on him, and the Rule 5 pick plucked from the Diamondbacks retired the side in order in the seventh, when his pitch count eclipsed 100 for the first time this season.

The Royals scored the only run they needed off Tyler Skaggs (6-5) in the fourth. Duda, who is known primarily for his power, managed to dribble a single through the infield, driving in Hunter Dozier after he reached on a leadoff double on a mild, sun-splashed afternoon.

Herrera added an RBI single, his career-high third hit of the game, in the eighth inning.

Skaggs, who was scratched from his star last week with right hamstring tightness, allowed seven hits and walked two in seven innings. He struck out eight for the third straight start.

Both teams had to fly into Kansas City for the makeup game, the Angels to kick off a road trip that sends them to Boston and Baltimore and the Royals between stops in Houston and Milwaukee.

Not that manager Ned Yost’s bunch minds now. The Royals had lost nine in a row at Kauffman Stadium, getting outscored 54-17 over the stretch, with their last win coming June 2 against Oakland.

Of their four wins overall in June, three have been shutouts.

Mariners 5, Orioles 3

Dee Gordon’s slick seventh-inning bunt was the lone hit in a two-run uprising that put Seattle ahead for good, and the Mariners beat host Baltimore for just their second win in eight games.

Denard Span homered for the Mariners, who benefited from 10 walks and a pivotal wild pitch to get back on track after losing successive series at Yankee Stadium and in Boston.

Gordon gave the Mariners an early lead with a two-run single, then provided the key hit in a seventh inning that began with score tied at 3.

Guillermo Heredia drew a leadoff walk from Miguel Castro (2-3) and advanced when Gordon pushed a bunt inside the first-base line and beat the throw by a step.

NATIONAL LEAGUE: Marlins 9, Diamondbacks 5

Brian Anderson and Cameron Maybin each drove in two runs to help spoil Shelby Miller’s return to the mound after missing over a year for Tommy John surgery as host Miami beat Arizona.

Dan Straily (3-3) pitched effectively while appealing a five-game suspension for intentionally throwing a pitch at the San Francisco Giants’ Buster Posey on June 19. Straily allowed three runs in 6 ⅓ innings for the Marlins.

Justin Bour hit his 13th home run for Miami, which won its third straight.

Miller (0-1) made his first start since April 23, 2017 and gave up six hits and five runs in 3 ⅔ innings. He struck out five and walked two while throwing 85 pitches.

Jake Lamb began the scoring with a home run in the first inning for the Diamondbacks, who saw their four-game winning streak end.

Bour responded with a solo shot in the bottom half.

Jeff Mathis’s base hit and Miller’s sacrifice fly gave Arizona a 3-1 lead.

The Marlins cut the deficit to 3-2 on a single by Starlin Castro.

Miami scored three runs in the pivotal fourth to take a 5-3 lead on a base hit by Derek Dietrich and a two-run double by Anderson.

The Marlins broke the game open in the eighth with four runs sparked by Maybin’s two-run single.

Chris Owings’s RBI double and Mathis’s sacrifice fly in the ninth cut the final deficit to 9-5.

Pirates 6, Mets 4

Josh Bell hit a two-run homer, Gregory Polanco also went deep and the Pittsburgh Pirates took advantage of some dreadful defense by host New York to snap a five-game losing streak.

In a series opener between tumbling teams, Pittsburgh built a five-run lead and held on to hand the Mets their seventh straight defeat before a mostly quiet crowd of 22,135. New York is 6-24 in its last 30 games — and that 11-1 start to the season feels like ancient history.

Playing at home has hardly helped. The reeling Mets (31-45) have lost 14 of 15 at Citi Field, falling to 13-25 in their own ballpark this season.

Jameson Taillon (5-6) took a two-hit shutout into the seventh inning against a makeshift Mets lineup before New York tried to rally. Consecutive doubles by Jose Reyes and Kevin Plawecki chased Taillon, and a three-run homer by pinch-hitter Wilmer Flores off Tyler Glasnow trimmed Pittsburgh’s lead to 5-4.

Steven Brault entered and threw seven straight balls before recovering to strike out Jose Bautista on a pitch in the dirt. Brault then got Asdrubal Cabrera to ground into an inning-ending double play.

Cabrera also committed an earlier error at second base.

Kyle Crick pitched out of trouble in the eighth, and Elias Diaz provided an insurance run with a sacrifice fly in the ninth. Felipe Vazquez struck out the side for his 15th save in 19 attempts.

Two errors in the first three innings by rookie third baseman Luis Guillorme — touted as a slick fielder — led directly to a pair of unearned runs against Mets starter Seth Lugo (2-3). Josh Harrison hit a sacrifice fly in the first, Polanco had a solo homer in the second and Diaz delivered a two-out RBI single in the third.

It was only the second home run since May 12 for Polanco, who came off the bench the previous three days.

INTERLEAGUE: Rays 11, Nationals 0

Blake Snell took a no-hitter into the seventh inning, Kevin Kiermaier hit a grand slam and host Tampa Bay beat Washington.

Wilson Ramos homered twice and rookie Jake Bauers had four hits in the Rays’ fourth straight win.

Snell (10-4) walked Trea Turner and Bryce Harper to open the game before retiring 18 straight, striking out five straight at one point. Anthony Rendon doubled off the left-field wall on a 3-1 pitch leading off the seventh for the first of Washington’s two hits.

Yankees 4, Phillies 2

Jonathan Loaisiga took a no-hitter into the sixth inning, Aaron Judge ripped his 20th homer and the New York Yankees snapped a three-game losing streak with a 4-2 victory over the Philadelphia Phillies on Monday night.

Loaisiga (2-0) didn’t allow a hit until Jorge Alfaro lined a single to right leading off the sixth. He struck out eight in 5 ⅓ innings, throwing 86 pitches in his third start after jumping from Double-A to the majors.

The Yankees, who were swept by the Tampa Bay Rays over the weekend, haven’t lost four in a row this season and own the best record in baseball (51-25).

Making their first appearance at Citizens Bank Park since beating the Phillies in six games in the 2009 World Series, it felt like home for the Yankees. The sellout crowd of 44,136 was filled with fans cheering for the Bronx Bombers.