The Athletics captured the AL West with another improbable rally in a season full of them, coming back from four runs down and a 13-game division deficit to stun the two-time defending league champion Texas Rangers, 12-5, Wednesday afternoon in Oakland.
Josh Hamilton dropped a fly ball in center for a two-run error that put the A’s (94-68) ahead, 7-5, in a six-run fourth inning.
While Hamilton’s Rangers (93-69) are headed to the new one-game, wild-card playoff, the A’s get some time off before opening the division series in their first postseason appearance since 2006.
The A’s needed a sweep and they delivered to win their first division crown in six years and 15th in all. They overcame a five-game deficit in the final nine days and took sole possession of the West’s top spot for the first time this year.
‘‘It shows how important Game 162 is,’’ Oakland’s Jonny Gomes said. ‘‘I don’t think it took 162 to games to check the character of this ball club.’’
Grant Balfour retired Michael Young on a fly to center for the final out, then raised his arms as the A’s streamed out of the dugout to celebrate.
Coco Crisp hit a tying two-run double in the fourth against Derek Holland (12-7). Brandon Moss drove in three runs, including a two-run single in a four-run eighth.
Rookie Evan Scribner (2-0) left the mound to a standing ovation from the sellout crowd of 30,067 and wound up the winning pitcher. He allowed two hits and struck out two in three scoreless innings after replacing struggling starter A.J. Griffin.
‘‘Anything can happen in the long season,’’ said Rangers pitcher Yu Darvish, who will start the wild-card game. ‘‘That’s why we play 162 games.”
Nationals 5, Phillies 1 — Washington secured home-field advantage throughout the postseason by beating Philadelphia for its majors-high 98th victory, with Ryan Zimmerman, Tyler Moore, and Michael Morse homering.
Dodgers 5, Giants 1 — Clayton Kershaw finished with a majors-leading 2.53 ERA, Adrian Gonzalez singled in the go-ahead run in the sixth, and host Los Angeles defeated San Francisco. Giants catcher Buster Posey went 0 for 2, finishing with a .336 average to claim the NL batting title.
. . .
In other games —