Jeff Curry-USA TODAY Sports

Javier Baez hit a two-run homer and Riley Greene added a two-run double to power the visiting Detroit Tigers past the St. Louis Cardinals 5-4 on Friday.

By taking the opener of a three-game interleague series, the Tigers won their fourth straight game. The Cardinals lost their seventh game in a row.

Detroit starting pitcher Matthew Boyd (2-2) allowed three runs on five hits in six innings. He struck out six and walked one.

Alex Lange struck out three in a scoreless ninth inning to earn his sixth save.

Cardinals starter Jordan Montgomery gave up two runs on six hits in six innings. He fanned six and walked one.

Reliever Jordan Hicks (0-3) took the loss after yielding three runs in two-thirds of an inning.

Cardinals manager Oliver Marmol and bench coach Joe McEwing were ejected in the ninth inning by plate umpire Junior Valentine for protesting balls and strikes.

The Tigers jumped to 2-0 first-inning lead when Andy Ibanez hit a one-out double and Baez launched his two-run homer to left field.

Andrew Knizner cut Detroit's lead to 2-1 with a homer to left-center in the third.

St. Louis' Paul Goldschmidt triggered a two-run rally with a leadoff double in the fourth inning. Willson Contreras dropped a popup single between three fielders in right field, and he took second on the throw to third base.

Nolan Arenado drive in Goldschmidt with a groundout, and Dylan Carlson scored Carlson with a fielder's-choice grounder to put the Cardinals up 3-2.

The Tigers retook the lead with three runs in the seventh inning. Hicks walked Zach McKinstry leading off, then he hit with a pitch Matt Vierling with one out. Greene followed with a two-run double to right, and Eric Haase drew a two out walk.

Spencer Torkelson greeted reliever Giovanny Gallegos with an RBI double to make it 5-3.

With two outs in the eighth inning, St. Louis' Juan Yepez and Paul DeJong hit singles and Lars Nootbaar delivered a ground-rule double to cut Detroit's lead to 5-4.

Goldschmidt doubled to lead off the ninth before Lange struck out Contreras, Arenado and Carlson.

More must-reads:

TODAY'S BEST
Report: TNT is still fighting to save its NBA rights
Lightning re-acquire defenseman from Predators
Steelers star DT blasts reporter's 'bold face lie'
Deadline for LeBron James' contract decision revealed
Jets HC Robert Saleh shares significant update on Aaron Rodgers' health
Steelers add another veteran to running back room
Charvarius Ward names positive 49ers can take from Super Bowl loss
Dolphins' Tua Tagovailoa reportedly makes physical change amid contract talks
Do Oilers need more from Connor McDavid to get to Stanley Cup Final?
All-Rookie teams show gems available all over draft
The NBA has not witnessed this much parity in 50 years
Knicks expected to be 'aggressive' in upgrading their roster
Drew Bledsoe offers advice for Patriots rookie QB Drake Maye
2024 AFC revenge games: Brothers, 'Stefon Diggs Bowl' to take center stage
2024 NFC revenge games: Which game should Cowboys, others have circled?
How All-Star Race victory could turn Joey Logano's season around
Xander Schauffele's triumph could open the floodgates for his career
Anderson Silva, Chael Sonnen will finish off their trilogy in a boxing ring
Ranking the five best MLB free-agent signings of offseason
Veteran WR, former first-round pick announces NFL retirement