Published: Aug 06, 2010 3:50 AM EDT
Updated: Aug 06, 2010 4:30 AM EDT

MIAMI (AP) — Carlos Ruiz homered leading off the 10th inning, and the Philadelphia Phillies benefited from a bad call to complete a three-game series sweep by beating the Florida Marlins 5-4 Thursday night.

A ruling by third base umpire Bob Davidson cost the Marlins a victory in the ninth. Gaby Sanchez pulled a grounder over third base for a hit that would have scored Hanley Ramirez from second base, but Davidson ruled the ball foul.

Marlins manager Edwin Rodriguez argued in vain, and replays showed ball landed inside the line behind the base.

Ruiz took advantage of the break, hitting his fifth homer off Will Ohman (0-1). Ruiz also had a two-run double in the sixth.