PHOTOS: Astros vs. D-backs

AP logo
Monday, October 5, 2015
Houston Astros starting pitcher Lance McCullers throws against the Arizona Diamondbacks during the second inning of a baseball game, Sunday, Oct. 4, 2015, in Phoenix.
Houston Astros' Jake Marisnick, right, embraces bench coach Trey Hillman during the start of a baseball game against the Arizona Diamondbacks.
Houston Astros manager A.J. Hinch looks on from the dugout during the start of a baseball game against the Arizona Diamondbacks.
Houston Astros' Marwin Gonzalez (9) hits a line drive single against the Arizona Diamondbacks during the second inning of a baseball game.
Houston Astros starting pitcher Lance McCullers, left, throws against the Arizona Diamondbacks during the first inning of a baseball game.
PHOTOS: Astros vs. D-backsHouston Astros starting pitcher Lance McCullers throws against the Arizona Diamondbacks during the second inning of a baseball game, Sunday, Oct. 4, 2015, in Phoenix.
Ralph Freso

The AL West was finally won this afternoon, the final day of the major league season.

The Texas Rangers claimed the division for the first time since 2011 by ripping Los Angeles, 9-2. Cole Hamels went the distance on a three-hitter to finish 7-1 with a 3.66 ERA for the Rangers, who acquired him from the Phillies nearly the July 31 trade deadline. The Rangers won each of his last 10 starts as they roared past the Astros to win the AL West by two games.

Adrian Beltre (BEHL'-tray) snapped a 2-2 tie with a solo homer in the fifth before he delivered an RBI single in a six-run seventh that iced the victory. Like Hamels, Beltre was a huge catalyst for Texas down the stretch with 33 RBIs in his final 23 games.

The outcome knocked the Angels out of wild-card contention and put Houston in Tuesday's AL wild card game against the Yankees in New York.

The Astros would have hosted the Yankees if Houston could have beaten Arizona on Sunday. Instead, Paul Goldschmidt belted a tiebreaking, two-run homer in the seventh to lift the Diamondbacks over the Astros, 5-3. Jose Altuve was 3-for-5 with two runs scored for the Astros, who are in the postseason for the first time since winning the 2005 National League pennant.