Published: Aug 01, 2010 4:23 AM EDT
Updated: Aug 02, 2010 4:30 AM EDT

SAN DIEGO (AP) — Jerry Hairston Jr. hit a two-run double with two outs in the sixth inning to chase Florida ace Josh Johnson, and the San Diego Padres beat the Marlins 5-4 Sunday to avoid a three-game sweep.

Newly acquired Ryan Ludwick came up big during the three-run rally, hitting a pinch single and sliding in ahead of the throw after Hairston doubled over left fielder Logan Morrison's head.

The NL West-leading Padres kept San Francisco from creeping any closer. The Padres entered the day with a 1½-game lead over the Giants, who played the Los Angeles Dodgers on Sunday night.

San Diego's Jon Garland (10-7) outpitched Johnson (10-4), allowing three runs and five hits in six innings with six strikeouts and three walks.