According to Elias

The Twins entered the top of the ninth inning with a 2-0 lead over the Tigers. J.D. Martinez‘s three-run home run off Glen Perkins turned that lead into a 3-2 deficit before the Twins rallied for two runs in the bottom of the ninth inning for the win. It’s been over 30 years since the Twins won a game in which they led entering the top of the ninth inning; fell behind in the top of the ninth before rallying in the bottom of the ninth for the win. The Twins last such win occurred on April 13, 1984 against the Mariners. Minnesota saw a 2-1 lead disappear when Alvin Davis and Ricky Nelson hit back-to-back home runs off Ron Davis to open the top of the ninth inning. The Twins rallied in the bottom of the ninth on RBI singles by Tim Teufel and Tom Brunansky for the win.