Carlos Santana belted a two-run homer in the bottom of the ninth inning to give the Kansas City Royals a 3-2 victory over the Detroit Tigers on Sunday.

Kansas City was held to three hits until the ninth, when Whit Merrifield led off with an infield single before Santana connected against Michael Fulmer (3-3).

More Images
Kansas City Royals' Carlos Santana celebrates after hitting a walk-off home run during the ninth inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. The Royals won 3-2. (AP PhotoCharlie Riedel)

Carlos Santana belted a two-run homer in the bottom of the ninth inning to give the Kansas City Royals a 3-2 victory over the Detroit Tigers on Sunday.

Kansas City Royals' Carlos Santana celebrates after hitting a walk-off home run during the ninth inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. The Royals won 3-2. (AP PhotoCharlie Riedel)

Royals manager Mike Matheny was ejected for the second time this season for arguing in the sixth.

Kansas City Royals' Andrew Benintendi celebrates with Jorge Soler (12) after scoring on a sacrifice fly hit by Hanser Alberto during the seventh inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit starter Casey Mize pitched three-hit ball for 6 1/3 innings, striking out six and walking one.

Kansas City Royals manager Mike Matheny talks with first base umpire Adrian Johnson before getting ejected during the sixth inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

DRESSED TO THE NINES

Kansas City Royals' Kelvin Gutierrez appeals to third base umpire Lance Barrett after being tagged out trying to advance to third on a sacrifice double play hit into by Hanser Alberto during the seventh inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. Andrew Benintendi scored on the play. (AP PhotoCharlie Riedel)

Royals: 3B Hunter Dozier went 1 for 5 with an RBI double in his first game of a rehab assignment with Triple-A Omaha. Dozier went on the seven-day injured list May 14 with a concussion following a collision with José Abreu in Chicago.

Detroit Tigers pitcher Gregory Soto throws during the seventh inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kansas City opens a six-game road trip against Tampa Bay on Tuesday. Brad Keller (3-4, 6.52) makes his 10th start of the season.

Detroit Tigers manager A.J. Hinch, left, walks back to the dugout after making a pitching change during the seventh inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers manager A.J. Hinch, left, walks back to the dugout after making a pitching change during the seventh inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kansas City Royals' Andrew Benintendi, right, is tagged out by Detroit Tigers third baseman Jeimer Candelario as he tried to steal third base during the fourth inning of a baseball game Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kansas City Royals' Andrew Benintendi, right, is tagged out by Detroit Tigers third baseman Jeimer Candelario as he tried to steal third base during the fourth inning of a baseball game Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kansas City Royals starting pitcher Kris Bubic throws during the first inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kansas City Royals starting pitcher Kris Bubic throws during the first inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Jeimer Candelario runs home to score on an RBI single by Eric Haase during the first inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Jeimer Candelario runs home to score on an RBI single by Eric Haase during the first inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Jeimer Candelario hits an RBI single during the first inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Jeimer Candelario hits an RBI single during the first inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Robbie Grossman runs home to score on an RBI single by Jeimer Candelario during the first inning of a baseball game Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Robbie Grossman runs home to score on an RBI single by Jeimer Candelario during the first inning of a baseball game Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kyle Zimmer (3-0) struck out three in two hitless innings for the win.

Kansas City Royals' Carlos Santana celebrates after hitting a walk-off home run during the ninth inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. The Royals won 3-2. (AP PhotoCharlie Riedel)

Kansas City Royals' Carlos Santana celebrates after hitting a walk-off home run during the ninth inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. The Royals won 3-2. (AP PhotoCharlie Riedel)

Royals manager Mike Matheny was ejected for the second time this season for arguing in the sixth.

Detroit scored twice in the first against Kris Bubic, sparked by Robbie Grossman's leadoff double. Jeimer Candelario and Ethan Haase each hit an RBI single, and the Tigers had the bases loaded with one out. Bubic prevented further damage and pitched scoreless ball after that.

Bubic allowed six hits in five innings with three strikeouts and three walks. Royals relievers Tyler Zuber, Scott Barlow and Zimmer held the Tigers scoreless.

Kansas City Royals' Carlos Santana celebrates after hitting a walk-off home run during the ninth inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. The Royals won 3-2. (AP PhotoCharlie Riedel)

Kansas City Royals' Carlos Santana celebrates after hitting a walk-off home run during the ninth inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. The Royals won 3-2. (AP PhotoCharlie Riedel)

Detroit starter Casey Mize pitched three-hit ball for 6 1/3 innings, striking out six and walking one.

Mize exited with a 2-0 lead and runners at the corners. Pinch-hitter Hanser Alberto drove in Andrew Benintendi with a sacrifice fly off Gregory Soto to put the Royals on the board.

Detroit stranded nine runners.

Kansas City Royals' Andrew Benintendi celebrates with Jorge Soler (12) after scoring on a sacrifice fly hit by Hanser Alberto during the seventh inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kansas City Royals' Andrew Benintendi celebrates with Jorge Soler (12) after scoring on a sacrifice fly hit by Hanser Alberto during the seventh inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

DRESSED TO THE NINES

The Royals and Tigers donned special jerseys honoring the Detroit Stars and Kansas City Monarchs as part of the annual Salute to the Negro Leagues game in Kansas City.

TRAINER’S ROOM

Kansas City Royals manager Mike Matheny talks with first base umpire Adrian Johnson before getting ejected during the sixth inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kansas City Royals manager Mike Matheny talks with first base umpire Adrian Johnson before getting ejected during the sixth inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Royals: 3B Hunter Dozier went 1 for 5 with an RBI double in his first game of a rehab assignment with Triple-A Omaha. Dozier went on the seven-day injured list May 14 with a concussion following a collision with José Abreu in Chicago.

UP NEXT

Detroit hosts Cleveland for a four-game series. Spencer Turnbull (3-2, 2.88 ERA), fresh off his no-hitter in Seattle, will take the mound for the Tigers on Monday.

Kansas City Royals' Kelvin Gutierrez appeals to third base umpire Lance Barrett after being tagged out trying to advance to third on a sacrifice double play hit into by Hanser Alberto during the seventh inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. Andrew Benintendi scored on the play. (AP PhotoCharlie Riedel)

Kansas City Royals' Kelvin Gutierrez appeals to third base umpire Lance Barrett after being tagged out trying to advance to third on a sacrifice double play hit into by Hanser Alberto during the seventh inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. Andrew Benintendi scored on the play. (AP PhotoCharlie Riedel)

Kansas City opens a six-game road trip against Tampa Bay on Tuesday. Brad Keller (3-4, 6.52) makes his 10th start of the season.

More AP MLB: https://apnews.com/hub/MLB and https://twitter.com/AP_Sports

Detroit Tigers pitcher Gregory Soto throws during the seventh inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers pitcher Gregory Soto throws during the seventh inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers manager A.J. Hinch, left, walks back to the dugout after making a pitching change during the seventh inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers manager A.J. Hinch, left, walks back to the dugout after making a pitching change during the seventh inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kansas City Royals' Andrew Benintendi, right, is tagged out by Detroit Tigers third baseman Jeimer Candelario as he tried to steal third base during the fourth inning of a baseball game Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kansas City Royals' Andrew Benintendi, right, is tagged out by Detroit Tigers third baseman Jeimer Candelario as he tried to steal third base during the fourth inning of a baseball game Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kansas City Royals starting pitcher Kris Bubic throws during the first inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Kansas City Royals starting pitcher Kris Bubic throws during the first inning of a baseball game against the Detroit Tigers Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Jeimer Candelario runs home to score on an RBI single by Eric Haase during the first inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Jeimer Candelario runs home to score on an RBI single by Eric Haase during the first inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Jeimer Candelario hits an RBI single during the first inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Jeimer Candelario hits an RBI single during the first inning of a baseball game against the Kansas City Royals Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Robbie Grossman runs home to score on an RBI single by Jeimer Candelario during the first inning of a baseball game Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)

Detroit Tigers' Robbie Grossman runs home to score on an RBI single by Jeimer Candelario during the first inning of a baseball game Sunday, May 23, 2021, in Kansas City, Mo. (AP PhotoCharlie Riedel)