PHOENIX — Ketel Marte hit a two-run homer in the first inning and drove in the go-ahead run with an infield hit in the seventh as the Arizona Diamondbacks beat the Minnesota Twins 5-4 on Tuesday night.
Marte, leading the All-Star voting as the National League's second baseman, hit his 16th homer off Joe Ryan, then beat out a slow roller to second with two out to break a 4-4 tie.
''What can you say about Marte? He's a beast,'' Diamondbacks manager Torey Lovullo said. ''It was an emotional win, I'm proud of these guys fighting back. Nothing easy about it.''
The Diamondbacks led 4-0 after two innings, but the Twins came back against Brandon Pfaadt. Byron Buxton, who just missed catching Eugenio Suárez's second-inning RBI triple at the wall in right center, led off the Twins' fifth with a home run to left-center.
Ryan Jeffers tied the game and ended Pfaadt's night with a three-run homer after a walk and an infield hit with one out in the seventh.
In the bottom half, Jorge Alcala (1-3) retired the first two hitters, but he walked No. 9 batter Geraldo Perdomo and Corbin Carroll's single to center advanced Perdomo to third. Marte then hit one just past the mound and beat Willi Castro's throw to first as Perdomo crossed the plate.
''In that moment you just have to run hard and got there safely,'' Marte said through an interpreter. ''It worked out in my favor.''
Kevin Ginkel (6-1) retired two batters in the seventh for Arizona. Paul Sewald gave up a two-out double to Buxton in the ninth, but retired Jeffers to get his 10th save.