SEATTLE (AP) -- Brad Miller had a tiebreaking two-run triple in the eighth inning and drove in three runs, helping the Seattle Mariners gain in the AL wild-card race with a 4-1 victory

Getty Images

over the Houston Astros on Monday.

The Mariners moved one game behind Oakland, which lost to the White Sox, 5-4 in 12 innings, for the first wild card and are one game ahead of Detroit for the second playoff spot.

With one out in the eighth, Mike Zunino worked a walk off Michael Foltynewicz (0-1). James Jones pinch ran stole and second. Tony Sipp entered and walked Michael Saunders.

Jones then stole third without a throw. He has 25 steals in 26 attempts.

With the infield and outfield drawn in, Miller hit a liner that skipped past right-fielder Alex Presley, rolling to the wall. Both runners scored and Miller reached third standing up.