FORT MYERS, Fla. -- The Cardinals rallied for three runs in the ninth Monday, erasing a short-lived Twins lead en route to a 4-3 win at Hammond Stadium.

Daniel Descalso and Shane Robinson started the ninth inning with consecutive singles against left-hander Jason Lane before Matt Adams drove them both in with a single to tie the game at 3.

Oscar Taveras followed with a single -- part of a 4-for-5 day -- before pinch-hitter Adam Melker loaded the bases with a bloop single into left. Adron Chambers drove in Adams with a sacrifice fly for the decisive run.

The Twins took a lead in the seventh, which Trevor Plouffe led off with a single before Eduardo Escobar came through with a double. Cardinals right-hander Joe Kelly then allowed Nathan Hanson, pinch-running for Plouffe, to score on a wild pitch before Darin Mastroianni drove in Escobar with a sacrifice fly.

Two of the Twins' runs came via wild pitches, as Cardinals right-hander Shelby Miller threw one in the dirt in the first inning, sending Jamey Carroll home and tying the score at 1.

Miller, competing with Kelly for the final spot in the Cardinals' rotation, allowed runners to reach base in all but one of his innings before exiting with a man on second and one out in the fifth.

He limited the damage to Carroll's run, though, scattering six hits and two walks over 4 1/3 innings. Kelly allowed two runs in two innings on two hits and a walk.

The Cardinals got on the board first with a run in the opening frame against Twins right-hander Mike Pelfrey. Shane Robinson reached on a single before scoring on a two-out double from Adams.

But it was the lone blemish for Pelfrey, who turned in his best and longest outing of the spring. Pelfrey, who had Tommy John surgery on May 1, gave up one run on five hits and a walk over five innings. He also struck out four.

Up next: Right-hander Liam Hendriks is set to start for the Twins in a 1:05 p.m. ET game on Tuesday against the Orioles at Hammond Stadium. Hendriks is battling for a spot in the rotation and saw his chances improve Monday, when the Twins trimmed their roster by four players, leaving just 27 healthy players in camp. Right-hander Kevin Gausman is scheduled to take the mound for the Orioles.