Alex Gordon threw out a runner at the plate in extra innings and scored on Salvador Perez's two-out double in the 12th to lift the Kansas City Royals over the Seattle Mariners 6-5 on Monday night.

Kansas City moved within three games of idle Cleveland for the second AL wild card with six remaining. Texas is a game behind the Indians.

Gordon saved the Royals in the 10th inning, when his one-hop throw to Perez from left field cut down Kyle Seager for an inning-ending double play.

Greg Holland walked the first two batters in the 12th, then retired three straight to end it.

Gordon drew a leadoff walk from Lucas Luetge (1-3) in the top of the 12th and Emilio Bonifacio sacrificed. Eric Hosmer popped out before Johnny Giavotella walked.

More From 1460 ESPN