WASHINGTON – Barry Bonds turned jeers to cheers with an upper-deck homer in his 2005 road debut, then drew a walk before Moises Alou’s go-ahead, three-run shot in the ninth inning of the San Francisco Giants’ 4-3 victory over the Washington Nationals.

Bonds hit his 706th homer off Livan Hernandez (15-8) in the fourth inning, and that was the only run the right-hander allowed heading into the ninth.

With two outs, one on and Washington ahead 2-1, Bonds came to the plate. Nationals manager Frank Robinson came out of the dugout to talk to Hernandez, and all the infielders gathered around.

Robinson left Hernandez in, and he did throw to Bonds, but he pitched quite carefully, walking the slugger on four pitches. Fans booed – though it wasn’t clear if that was directed at Bonds or the strategy.

Bonds was lifted for pinch-runner Jason Ellison, and Alou came to the plate. He sent Hernandez’s 124th pitch over the wall in left for his 18th homer. Hernandez slumped over on the mound, then put a hand on his hip while Alou circled the bases.

Bonds was the first player to greet Alou as he reached the dugout.

Washington scored once in the bottom half against Armando Benitez and had two runners on with two outs when Brad Wilkerson hit a slicing drive to deep left. Todd Linden, a defensive replacement for Bonds, made a diving catch just in front of the warning track to preserve San Francisco’s victory.

In a game between clubs trying to cling to fading playoff hopes, Bonds was the center of attention from batting practice on. He was booed when his name was announced during pregame introductions, booed when he stepped into the on-deck circle for each at-bat, and booed when he went out to play left field.

One fan sitting in the front row behind home plate held up an asterisk made out of red construction paper, and some spectators sitting in the left-field stands heckled the player when he was in the field.

Still, when Bonds sent a 1-2 pitch from Hernandez into the seventh row of section 468 for one of the longest shots this season at RFK Stadium – which is averaging the fewest homers in the majors – most of the crowd of 32,403 rose to watch the flight. There was a lot of applause and throaty yells of approval, plus plenty of flashbulbs popping.

Bonds showed no emotion as he slowly rounded the bases on his third homer this season. Out all year after three knee operations, he returned to the Giants on Sept. 12, and had only played at home until Tuesday.

Bonds is third on the career home run list behind Hank Aaron (755) and Babe Ruth (714).

His hit was San Francisco’s first off Hernandez, and it tied the score at 1. But the Nationals went ahead in the fifth on Wilkerson’s RBI single off starter Matt Cain.

Cain allowed two runs and four hits over seven innings. The other run came on Jose Guillen’s sacrifice fly in the first, scoring Wilkerson. Jack Taschner (2-0) pitched a scoreless eighth for the win, and Benitez escaped a bases-loaded, one-out jam in the ninth for his 17th save. He gave up a sacrifice fly to pinch-hitter Ryan Zimmerman before Linden robbed Wilkerson.

Hernandez, who struggled in his previous two appearances, gave up four hits and three walks in his second complete game this season. He struck out seven and got some nice defensive help.

Second baseman Jose Vidro stretched out to his right on a full dive to gather Ray Durham’s grounder in the fifth and threw him out while falling backward. Guillen made a running catch of Durham’s liner to right in the seventh, then doubled off Alou for his 10th assist.

Notes: Bonds popped up to shallow center in his first at-bat and grounded out to shortstop Cristian Guzman – shifted to the first-base side of second base – in his third at-bat. … Asked how Bonds has looked to him since joining the club last week, Giants manager Felipe Alou said: “To me, my personal estimates: 80 percent when it comes to baseball, running and throwing, outfield. Now hitting? 100 percent.”

Only subscribers are eligible to post comments. Please subscribe or to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.