Matt Blewett-USA TODAY Sports

Willi Castro hit a two-run home run in the seventh inning to rally the Minnesota Twins to a 3-2 win over the Tampa Bay Rays on Tuesday in Minneapolis.

With the Twins trailing by a run, Castro blasted his decisive drive to center off Rays starter Zack Littell (3-6), who pitched seven innings.

Louie Varland (4-3) tossed 2 1/3 innings of scoreless relief and was credited with the win. Jhoan Duran pitched a perfect ninth for his 26th save.

The Twins (76-69) evened the three-game series, which wraps up on Wednesday afternoon.

Minnesota relied on the long ball to do its damage off Littell. Castro and Edouard Julien each homered.

Tampa Bay (89-57) led 2-1 in the fifth inning thanks to Rene Pinto's home run.

In the momentum-swinging seventh inning, Max Kepler singled with one out, and Littell looked like he was going to escape further damage when he struck out Carlos Correa for the second out. But Castro's homer gave the lead to the Twins.

Twins starter Joe Ryan gave up two runs on five hits with seven strikeouts and was replaced after throwing 102 pitches in 4 2/3 innings.

The Twins took the lead in the third inning on Julien's two-out home run, his 12th.

Tampa Bay was held without a hit until the fourth inning, when Brandon Lowe doubled. The Rays tied the score on Josh Lowe's RBI single.

With one out in the fifth inning, the Rays went ahead on Pinto's home run to left, his fourth homer in his last seven games.

In the second inning, Ryan was shaken up after Luke Raley's comebacker deflected off his right hand. Ryan remained in the game after some warmup tosses.

The Rays replaced Yandy Diaz in the bottom of the fifth inning after the All-Star was shaken up after fouling the ball off himself in the top of the inning. Diaz is batting .323 after going hitless in two at-bats, with a walk.

More must-reads:

TODAY'S BEST
Former NFL QB brutally rips Denver Broncos head coach Sean Payton
Mets' Kodai Senga diagnosed with triceps inflammation, shut down
Watch: Luka Doncic hits game-winning three-pointer as Mavs take 2-0 lead over Wolves
Rangers outlast Panthers in Game 2 to even series
Yankees star Juan Soto has eyebrow-raising comments on upcoming free agency
Bears defender shares advice he gave QB Caleb Williams after 'frustrating' day
NCAA settlement might make college athletics more competitive
Jets QB Aaron Rodgers insists focus has been football, not politics
Heartbreak for Heim, Honeycutt as Sanchez wins Truck Series race at Charlotte
Draymond Green shares tone-deaf take on fines from NBA
USWNT coach Emma Hayes instilling right mindset ahead of Olympics
Winnipeg Jets officially name head coach
Injury bug bites Orioles again as another starting pitcher lands on IL
Yankees' Hal Steinbrenner under fire over Juan Soto comments
Lonzo Ball shares eye-opening details about his knee injury
Hurricanes general manager steps down, leaving front office in flux
Travis Kelce echoes Patrick Mahomes in response to controversial kicker
Cowboys QB Trey Lance details how he has changed since 49ers stint
Historic NCAA settlement reached allowing schools to pay players
Celtics dominate Pacers in Game 2, take 2-0 ECF lead

Want more sports news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.