PHILADELPHIA (AP) Jim Thome knows the routine. Hit a game-ending homer, circle the bases, get mobbed by teammates.
It never gets old.
Thome hit a pinch home run leading off the bottom of the ninth inning to lift the Philadelphia Phillies over the Tampa Bay Rays 7-6 on Saturday after Jonathan Papelbon blew his first save in 18 chances this season.
Thome connected off Jake McGee (2-2) for home run No. 609, tying Sammy Sosa for seventh place on baseball's career list. It was the 13th time he did it to end a game.
''You never forget them,'' Thome said. ''These are moments you never know how long you'll have them.''
Juan Pierre and Jimmy Rollins also homered for the Phillies, helping manager Charlie Manuel earn his 900th career win.
''To do that for him, it was special for sure,'' said Thome, who is very close to Manuel.
In the first meeting at Citizens Bank Park between this teams since Philadelphia won the 2008 World Series, the Phillies rallied from a 3-0 deficit against James Shields with homers from their Nos. 1-2 hitters. But Papelbon couldn't hold the lead.
Thome then came through to lead the five-time defending NL East champions out of last place for the first time since May 4. He hit a high drive to left field, jogged around the bases to a rousing ovation and got a cream pie in the face from Shane Victorino afterward on the field.
''That felt great,'' Thome said. ''They put whipped cream instead of shaving cream so that was nice.''
Tampa Bay's Jeff Keppinger was 5 for 5 with three RBIs in his first game after he missed 29 because of a broken toe.
Papelbon (2-2) allowed his first earned runs in a save situation this season. He walked Jose Lobaton with two outs to extend the game. Keppinger followed with an RBI single. Then, Brooks Conrad ripped a run-scoring single to right to tie it. Conrad was 3 for 41 before that hit.
''I've got to do a better job,'' Papelbon said.
Papelbon said he told Thome in the on-deck circle that he would give him $5,000 if he hit a homer. Papelbon said he wrote the check in the clubhouse.
''That was a huge pickup by Jim Thome,'' Papelbon said. ''I couldn't be happier for anybody in the clubhouse.''
Shields, who beat the Phillies in Game 2 of the '08 Series for Tampa Bay's only win, allowed five runs and seven hits in five innings. Since starting 5-0, Shields is 2-4 with a 4.69 ERA.
Tampa Bay has lost three straight.
''Tip your hat to Thome. He hit a 96 mph fastball off a left-hander and they beat us,'' Rays manager Joe Maddon said.
The 41-year-old Thome was 0 for 12 as a pinch-hitter before his at-bat. He batted .333 with four homers and 14 RBIs in nine games as a designated hitter during interleague play earlier this month.
Shields fanned the first two batters in the fourth before getting in trouble. Pinch-hitter Mike Fontenot and Rollins hit consecutive singles. That brought up Pierre, who hadn't gone deep in 366 at-bats, dating to Aug. 16 with the Chicago White Sox. Pierre lined career homer No. 17 over the right-field fence, and strutted down the line with a finger pointed in the air.
Pierre reached on a two-base error, hustling his way to second base in the seventh. Carlos Ruiz looped an RBI single to right off Brandon Gomes to make it 6-3.
The Rays loaded the bases with no outs in the eighth against Antonio Bastardo, but only got one run on an RBI single by Sean Rodriguez.
Kendrick got Philadelphia started in the third with a leadoff walk. Rollins followed with a drive that hooked inside the right-field foul line to cut the deficit to 3-2. The Phillies had runners on first and third with one out, but couldn't push across the tying run. Ty Wigginton struck out and Placido Polanco flied out.
Kendrick allowed three runs and six hits in four innings, striking out six. He is 1-3 with a 7.36 ERA in five starts since shutting out St. Louis on May 26.
Kendrick retired the first four batters before unraveling with one out in the second. He allowed a single to Ben Zobrist and walked Lobaton. Keppinger followed with a two-run double down the left-field line. He advanced to third on a throwing error by second baseman Michael Martinez and scored on Shields' groundout for a 3-0 Rays lead.
Notes: Pierre was 2 for 4 with three RBIs, two runs and two stolen bases. He also made a sliding catch in left field. ... Phillies RHP Mike Stutes will have arthroscopic surgery on his right shoulder on Tuesday. Dr. Lewis Yocum will perform the operation. ... Rays RHP Todd Farnsworth (right elbow strain) is scheduled to make his first back-to-back rehab appearances on Sunday and Monday. ... Shields struck out seven. ... Ruiz was hit by a pitch for the major league-leading 12th time. ... The Phillies had their 255th straight sellout, including postseason play. ... The Phillies will send Cole Hamels (10-3, 3.25) and Cliff Lee (0-3, 3.48) to the mound in their day/night doubleheader Sunday. David Price (9-4, 3.08) will pitch the first game for Tampa Bay. The Game 2 starter is undecided.
Rob Maaddi can be reached at https://www.twitter.com/RobMaaddi