The Detroit Tigers rallied to take the lead with two runs in the eighth inning and still had the bases loaded.
Failing to add on cost them against the Arizona Diamondbacks.
Torii Hunter hit a two-run single in the eighth inning, but Arizona's Miguel Montero hit a two-run single of his own in the bottom half to lift the Diamondbacks to a 5-4 win over the Tigers on Tuesday night.
"You get bases loaded and one out you hope you get a run across somehow," Tigers manager Brad Ausmus said. "We had an opportunity to blow the game open, but it didn't happen."
And the Tigers needed it.
Aaron Hill got Arizona started with three RBIs in the first five innings to put Arizona up 3-2.
Detroit rallied in the eighth when Hunter lined a two-run single up the middle off Brad Ziegler, who was struck on the ribs by a line drive the batter before.
But the Tigers couldn't increase the lead — and it cost them.
Eury De la Rosa (2-0) got the final two outs in the inning and Arizona rallied when Phil Coke (1-2) walked two in the bottom half after being hit by a line drive. The Diamondbacks loaded the bases on a two-out walk and Montero came through with his single up the middle off Ian Krol to put Arizona up 5-4.
Detroit had a final chance after Addison Reed pitched around Miguel Cabrera to walk the slugger in the ninth, but Hill ended the game by ranging into the outfield grass for a diving stop to throw out Don Kelly by a step.
David Peralta tied a team record with two triples and Reed had his 24th save for Arizona, which has won five of six home games.
"It was a great win," Montero said. "We battled, they battled us well and it was a really exciting game."
Arizona starter Chase Anderson won his first five starts and lost the next four before allowing a run on seven hits in six innings to beat Miami his last outing on July 7.
The rookie right-hander wasn't nearly as sharp against the Tigers, though he was still effective after a 10-day layoff.
He allowed run in the first inning on Miguel Cabrera's run-scoring single and another on a wild pitch in the third after crossing up his signals with Montero. Anderson worked around baserunners over the next three innings, but didn't give up another run against the AL's best-hitting team.
He allowed two runs and five hits and struck out five in six innings in his first start after a long layoff.
"I wouldn't say I was a little rusty, but I'm a routine-oriented person," Anderson said. "Starting pitchers are used to pitching every five days, so I would say I was a little off."
Detroit's Rick Porcello bounced back from a rough outing by holding the Royals to a run in seven innings his previous outing.
His main trouble against the Diamondbacks was their top two hitters, Peralta and Hill.
Hill hit a solo homer in the first inning, his eighth of the season. Peralta hit triples in the third and fifth inning, setting up Hill for a sacrifice fly and an RBI groundout that put Arizona up 3-2 in the fifth.
Porcello was good against everyone else, allowing five hits and three runs with five strikeouts.
"I didn't walk anybody, I was getting ahead for the most part," Porcello said. "A mistake in the first inning (Hill's homer) and leaving a couple of balls up out over the plate for Perralta to be able to drive in the gaps. Those triples really hurt."
NOTES: Peralta is the fifth Arizona player to have two triples in a game and second rookie, joining Robby Hammock, who did it June 8, 2003, against Cleveland. ... Cabrera has 36 RBIs in 40 career games against Arizona. ... Arizona RHP Trevor Cahill will pitch Wednesday against the Tigers, his second since returning from the minors. He allowed three runs in five innings against the Chicago Cubs in a no-decision on July 18. RHP Anibal Sanchez pitches for Detroit.