Published: Aug 19, 2012 1:30 AM EDT
Updated: Aug 19, 2012 6:31 AM EDT

ANAHEIM, Calif. (AP) - Pinch-hitter Carlos Pena delivered a tiebreaking homer in the eighth inning, Evan Longoria also hit a two-run shot and the Tampa Bay Rays overcame an eight-run deficit to beat the Los Angeles Angels 10-8 on Saturday night.

Jake McGee (4-2) earned the win with a perfect seventh and Fernando Rodney got three outs for his major league-leading 38th save. The Rays, held to one hit over the first four innings by C.J. Wilson, rallied from an 8-0 hole with seven runs in the fifth against the All-Star left-hander.

Rodney ended the game by striking out Erick Aybar and retiring pinch-hitter Maicer Izturis on a grounder with runners at second and third.

Tampa Bay tied it in the sixth with an unearned run against Jason Isringhausen after Ryan Roberts doubled, advanced on a passed ball by Chris Iannetta and scored on Jose Lobaton's sacrifice fly. Pena, batting for Sean Rodriguez, hit his 16th homer into the lower seats in the right-field corner on a 2-2 pitch from Kevin Jepsen (2-2) after a leadoff single by Jeff Keppinger.

Wilson is winless in a career-worst 10 consecutive starts (0-5) with a 5.70 ERA since beating Baltimore 7-3 on June 26 at Camden Yards. The knockout blow for him was Longoria's two-out, two-run homer after an RBI single by Sam Fuld, a bases-loaded walk to Desmond Jennings and a three-run double by Ben Zobrist.

Rays starter Alex Cobb threw 59 pitches in 2 2-3 innings, giving up eight runs and 12 hits against an offense that came in batting .207 against Tampa Bay in the eight previous meetings this season - and was 4 for 44 with runners in scoring position. The 24-year-old right-hander, who made his big league debut at Angel Stadium on May 1, 2011, had won his previous three starts following a 3-1 loss at the "Big A" on July 27 against Dan Haren.

Rookie sensation Mike Trout homered and drove in three runs for the Angels. Albert Pujols hit a two-run homer, his 27th.

The game started on an ominous note for the Rays when B.J. Upton lined a pitch off the fence in left-center, missed first base by at least three feet while making the turn and had to settle for a single. He then was picked off by Wilson and subsequently thrown out at second by Pujols.

It got worse for the Rays in the bottom half, as Cobb fell behind 3-0 after just 13 pitches. Trout led off with his 23rd homer on the right-hander's second pitch, hitting the rock formation in left-center on the fly. It began a string of five straight hits, including RBI singles by Kendrys Morales and Mark Trumbo.

The Angels increased the margin to 7-0 in the second. Trout singled home a run, then stole his franchise-record 30th consecutive base and scored on Torii Hunter's double. Pujols followed with a towering drive far beyond the bullpen gate on Cobb's 36th pitch.

The speedy Trout drove in the Angels' eighth run in the fourth with an infield single.

The Rays outscored Los Angeles 34-11 over their last six meetings, a stretch that began with three consecutive shutouts. They won the series opener 7-0 and routed the Angels 12-3 Friday night.

NOTES: The Angels welcomed back 27 players from the 2002 World Series championship team to mark the 10th anniversary of their seven-game triumph over the San Francisco Giants. The entire squad was inducted into the Angels' Hall of Fame. "To a man, the 2002 team had the tenacity to do what no other Angels team had done before," former RF Tim Salmon told the crowd of 41,086. "May the legacy of the 2002 team serve as an example for future teams, that the highest goals can be accomplished when you check your egos at the door and come together as one." ... Wilson was 5-0 with a 1.30 ERA in the seven starts that preceded this winless drought. ... Upton struck out his next three times up after his baserunning gaffe. ... Rays LHP J.P. Howell extended his scoreless streak to 24 2-3 innings with a hitless fifth, one night after breaking James Shields' franchise mark of 23. ... Angels LHP Scott Downs retired his only batter after getting reinstated from the 15-day DL. He missed 20 games because of a shoulder strain.