OAKLAND, Calif. (AP) — Josh Hamilton has had a good final month to the season. He hopes it spills over into next year.
Hamilton hit a tying two-run homer in the ninth inning then put the Angels ahead with a sacrifice fly in the 11th, leading Los Angeles over the Oakland Athletics 5-4 Wednesday.
"I feel like I am having good at-bats even if the results aren't always there," Hamilton said. "If I can build off this last month of quality at-bats, it would be good."
Hamilton connected against Grant Balfour, who blew his third save of the season. Jesse Chavez (2-4) was the loser.
Mike Trout connected for a two-run home run for the Angels, who won for the fourth time in five games.
"No matter how long you've been playing, you're going to have confidence issues," Angels manager Mike Scioscia said of Hamilton. "We're seeing it all come together the last month. He's a terrific player who has struggled at times earlier in the season."
Coco Crisp and Yoenis Cespedes each hit two-run home runs for the A's, who lost for the third time in 12 games. But they have a six-game lead over Texas in the AL West. The Rangers play at Tampa Bay.
Juan Gutierrez (1-4) pitched the 10th for the win. Ernesto Frieri worked the 11th for his 35th save in 39 chances.
A's starter A.J. Griffin gave up Trout's homer with one out in the first. He retired 17 of the last 18 batters he faced.
"He's good at baseball," Griffin said of Trout. "I was trying to get him to miss hit, but he got it."
Griffin allowed two runs on one hit. He walked two and struck out six.
"I'm able to repeat my delivery more often," Griffin said. "I can get the ball and let it fly."
Angels starter Jason Vargas allowed four runs on seven hits over six innings. He walked two and struck out five.
"I felt good most of the day," Vargas said. "I left a changeup and fastball up to some guys who have hit a few long balls."
J.B. Shuck doubled leading off the 11th against Chavez. Josh Donaldson mishandled Erick Aybar's sacrifice bunt for an error, putting runners on first and third. After Trout flew out, Hamilton followed with a towering drive to the warning track in left field against Jerry Blevins that put the Angels ahead 5-4.