Mark Buehrle allowed one run while pitching into the fourth inning, but Carlos Paulino lifted the Pittsburgh Pirates to a 5-4 victory over the Toronto Blue Jays on Wednesday with an RBI single in the 10th inning.

Paulino singled to center off reliever Tommy Hottovy, who hit two batters with pitches in the inning.

Buehrle gave up four hits and a walk in 3 2-3 innings.

Pirates starter James McDonald went 5 1-3 innings and yielded three runs on five hits and two walks. The right-hander struck out five.

The Blue Jays took a 1-0 lead in the first inning. Anthony Gose walked and scored from second base on a throwing error by third baseman Pedro Alvarez. Adam Lind and Mike Nickeas each had an RBI single for Toronto.