Brian Dozier drove in the winning run in the 13th inning as the Minnesota Twins took a 4-3 victory over the Houston Astros to open a three-game set.
Clete Thomas worked a one-out walk off Dallas Keuchel (5-6) and moved to second on Kevin Correia's sacrifice bunt. Dozier then punched a single to right and Thomas scored easily.
Dozier had three hits and two RBI while Joe Mauer and Justin Morneau each drove in a run for the Twins, who snapped a four-game losing streak.
Ryan Pressly (3-2) pitched two scoreless innings to get the win while Samuel Deduno was charged with two runs on four hits over six innings in the start.
Jason Castro drove in two runs and Matt Dominguez had an RBI for the Astros, who have lost seven of nine. Jarred Cosart gave up a run on five hits over seven innings in the start.
Minnesota got the first run of the game in the third as Thomas led off with a single, moved to third on a Pedro Florimon single, and crossed the plate thanks to Mauer's sacrifice fly.
Houston, though, went ahead in the fifth. With two outs Robbie Grossman, Jonathan Villar and Jake Elmore worked walks to load the bases and Castro followed that with a single to chase home two for a 2-1 lead.
In the eighth with Jose Cisnero on the mound, Dozier led off with a double and moved to third on Mauer's groundout. Morneau then singled to right to tie the game.
Houston went back on top in the ninth as L.J. Hoes hit a one-out, pinch-hit single and came home when Dominguez followed with a double off the wall in left. Dominguez, though, was nailed at third on the play and Brandon Barnes grounded out to end the inning.
With Josh Fields on the mound to close the game, Chris Colabello worked a leadoff walk and Doug Bernier came on to run, moving to second on Thomas' sac bunt.
Chia-Jen Lo then uncorked a wild pitch, allowing Bernier to take third, and Chris Herrmann worked a walk. Dozier then punched a single to center to tie the game. Mauer hit into a fielder's choice and Morneau popped out to send the game to extras.
Cosart has given up one earned run or less in each of his first four starts. His earned run average is at 0.96 ... Minnesota stranded 13 men on base after going 3-for-12 with runners in scoring position ... Houston took two of three the last time these teams met, in 2009.