SAN FRANCISCO (AP) -- Barry Bonds hit his 738th career home run Wednesday night, a solo shot in the eighth inning against the St. Louis Cardinals that tied the game at 5.

The 42-year-old San Francisco slugger moved within 18 homers of breaking Hank Aaron's all-time record of 755 with his fourth homer of the season.

Bonds connected after going 0-for-1 with a walk, popup and sacrifice fly in his three previous three plate appearances.

He splashed a home run into McCovey Cove for the 33rd time -- and did so against right-hander Ryan Franklin, who became the 437th different pitcher to surrender a home run to the seven-time NL MVP.

The fans at AT&T Park jumped to their feet and chanted "Barry! Barry!" as he began another trot around the bases with "738" flashing on the main center-field scoreboard. Some bowed to him over the left-field fence as he walked out to play defense in the top of the ninth.

SI Apps
We've Got Apps Too
Get expert analysis, unrivaled access, and the award-winning storytelling only SI can provide - from Peter King, Tom Verducci, Lee Jenkins, Seth Davis, and more - delivered straight to you, along with up-to-the-minute news and live scores.