Randy Riley's three-run fourth-inning homer gave the Hagerstown Suns a 3-2 Carolina League victory over the Prince William Pirates last night before 3,095 at Prince William County Stadium in Woodbridge.

Prince William starter Jim Neidlinger (5-9) walked a total of six batters in the second, third and fourth innings. He gave up three walks in the third but escaped without allowing a run when Bob Bellini was thrown out trying to steal second and the Pirates' Barry Bonds ran down two fly balls in center field.

Edgar Castro and Jeff Doerr worked Neidlinger for consecutive walks to lead off the fourth. After Gerry Melillo fouled out to third base, Riley hit his first home run of the season over the right field fence to give Hagerstown a 3-1 lead.

Prince William scored in the first inning when Bonds singled with two outs and scored on Burk Goldthorn's double off the wall in right-center field. Bonds has an 11-game hitting streak, the longest of the season for a Pirates player.

The Pirates closed to 3-2 in the seventh. Dimas Gutierrez led off with a double to left to chase Hagerstown starter Chris Egelston (2-1). Reliever Mike Raczka threw a wild pitch to Lance Belen, allowing Gutierrez to move to third.

Belen singled to center to score Gutierrez, but Raczka retired the final nine batters of the game, striking out the side in the eighth, to earn his first save of the season.

Mike Flanagan will not pitch for Hagerstown in tonight's game with Prince William because of a sore neck, it was announced yesterday.