NEW YORK -- Jason Giambi stood outside the dugout and raised his arms to a cheering crowd.
It's been a long time since he -- and the New York Yankees -- heard such a roar.
Booed at home for most of the year, Giambi hit a two-run homer into the upper deck in the 10th inning, and New York rallied past the Pittsburgh Pirates 7-5 Wednesday night with help from a questionable call.
"For one swing, I put it all together," Giambi said. "Hopefully, this is a turning point."
Before the game, the Yankees unveiled plans for a new $800 million ballpark they hope to move into in 2009. It will be built adjacent to the current stadium, which opened in 1923, and the team hopes to break ground next spring.
But first, the Yankees summoned some of their old late-inning magic for perhaps their most exciting victory in a sluggish season.
"If this game doesn't pick us up, I don't know what game will. We weren't going to be denied," manager Joe Torre said. "That's the attitude that it looked like we had. Guys kept fighting, biting and doing everything possible to make sure the game wouldn't end."
Trailing 5-4, New York caught a big break in the ninth. With one out and a runner on first, Gary Sheffield's smash up the middle appeared headed toward center for a single. But it deflected off Mesa (0-5) to shortstop Jack Wilson, who tried to start a double play that would have ended the game.
Replays showed the relay from second baseman Jose Castillo beat Sheffield at first, but he was called safe by umpire Tony Randazzo.
"I don't need to see a replay. He was clearly out," Pittsburgh manager Lloyd McClendon said. "It's not easy to take, that's for sure. We've got a nice little team here, but we're not good enough to beat the Yankees twice in their own ballpark."
Pittsburgh's middle infielders protested a bit, though McClendon never came out of the dugout to argue.
"It was a bang-bang play, and I had him beat," Randazzo said. "They didn't complain. That's what I had out there, and that's what I called."
But McClendon said there was only one reason he didn't dispute the play.
"I've come to learn that arguing gets me in trouble for some reason," he said.
Alex Rodriguez singled, and Posada doubled off the right-field fence to tie it. When the throw in trickled away from Wilson, Rodriguez made an ill-advised decision to try and score. He was easily cut down at the plate.
"It was where I wanted it. Sometimes you have to give the hitter credit," Mesa said. "Even though the umpire missed the play, I didn't do my job."
It was the first moment of pure elation in a long while for Giambi, who has all but admitted using performance-enhancing drugs.
"He's handled his share of problems. To come back in a game like this and be the hero, it had to mean a great deal to him," Torre said.
Especially after getting booed loudly by the crowd of 48,828 when he struck out in a key spot in the eighth.
"Deep inside, I want to get a hit as badly as they want me to get a hit," Giambi said.
His third career game-ending homer -- second with the Yankees -- made New York 1-30 this season when trailing after eight innings.
It also was his first homer since May 17 in Seattle, and he took a curtain call to celebrate.
"It was incredible," Giambi said.
The Pirates dropped to 27-3 when leading after eight, and Mesa was handed his third blown save in 20 chances.
Mariano Rivera (3-2) pitched two scoreless innings for the win.
Wilson homered on the first pitch from Tanyon Sturtze in the seventh, and Bay did the same in the eighth, making it 5-2.
Posada also connected for New York, and Robinson Cano had an RBI infield single.
Brown allowed three runs and seven hits in 4 1/3 innings. The right-hander missed his previous turn in the rotation because of a sore left shoulder. He got hurt while covering first base in Minnesota on June 5. He also missed the first two weeks of the season with a strained back.
"I almost cost us the game. But what do you in that situation? If you don't pitch with a little discomfort, you'll never get on the mound. I have to figure out where that line is," Brown said. "This is probably just residual stuff from what happened in Minnesota. That whole side has just been stiff and sore ever since."
- The Yankees have won consecutive games for the first time since May 22-27.
- It was Giambi's 99th homer with the Yankees.
- The Yankees optioned INF Andy Phillips to Triple-A Columbus and recalled OF Bubba Crosby.