Updated

Bronx, NY (SportsNetwork.com) - Yovani Gallardo settled in after a rough start and the Rangers swept the Yankees in the Bronx for the first time in 12 years.

Gallardo went six innings, giving up just one hit over the last five as Texas beat New York 5-2 on Sunday night to finish a three-game series.

The Yankees scored both of their runs in the first inning but labored against Gallardo (4-6) for the rest of his outing. The right-hander struck out six, walked one and yielded just four hits.

Adam Rosales hit a two-run homer for Texas and Prince Fielder was 3-for-5 with two RBI, raising his AL-leading average to .358 this season.

The Rangers, who won the first two games 10-9 and 15-4, swept the Yankees on the road for the first time since May 16-18, 2003. They have won five in a row overall, a season high.

"It's big," Gallardo said of the sweep. "To come out and play the way we've been playing shows the talent in this clubhouse and the hard work that guys have put into it."

The Yankees have dropped six in a row and are 1-10 since going a season-best nine games over .500 (21-12) on May 11.

Chris Capuano (0-2) had another brief start, giving up three runs -- two earned -- on eight hits in 4 1/3 innings. The veteran lefty, who spent the beginning of the season on the disabled list with a quadriceps injury, went just three-plus innings in his season debut last Sunday against Kansas City.

"We've been bitten by the big inning lately," said Capuano. "We just need to continue to battle and avoid those big innings."

Fielder hit an RBI double for Texas in the top of the first inning after an error by Yankees second baseman Jose Pirela allowed Shin-Soo Choo to reach base.

Rangers shortstop Elvis Andrus missed an easy grounder hit by Brett Gardner in the bottom of the first inning for Texas' first of two errors in the game.

Gardner was thrown out trying to take third base on Chase Headley's single to center fielder Leonys Martin, but New York took a 2-1 lead on Brian McCann's two-run single.

Rosales homered off the top of the left-field wall in the second inning, just out of reach of Gardner's glove, to give Texas the lead for good.

Delino DeShields led off the seventh with a triple over center fielder Chris Young's head and scored on Choo's double. Fielder then knocked in Choo for the second time with a single off the right-field wall to make it 5-2.

Gallardo faced the minimum number of batters -- 15 -- between Didi Gregorius reaching on first baseman Mitch Moreland's error leading off the second inning and when Keone Kela replaced him to start the seventh. He gave up just one hit in that span -- a single in the fourth to Garrett Jones, who was erased on a double play -- and struck out the side in the fifth.

Martin doubled in the top of the eighth but was later tagged out in a rundown between third and home on a failed suicide squeeze attempt by the Rangers.

The Yankees had the tying run at the plate in the eighth inning but McCann was retired on a fly ball to center field.

Game Notes

The Yankees retired Bernie Williams' No. 51 before the game and dedicated a plaque in Monument Park to the longtime center fielder, who won four World Series titles while playing for the Yankees from 1991 to 2006 ... The Rangers are 5-1 on a nine-game road trip. They are expected to have outfielder Josh Hamilton available on Monday when they open a three-game series in Cleveland. The former AL MVP for Texas was acquired from the Angels last month and has been playing for Triple-A Round Rock ... The Yankees remain at home for a three-game series against Kansas City starting Monday ... New York reliever Justin Wilson gave up both runs in the seventh inning ... Capuano had four strikeouts and no walks ... A man in a Yankees jersey tried to catch Rosales' homer in his hat. The ball hit the hat before bouncing off the top of the wall ... Moreland's error was Texas' 38th of the season, tied with Milwaukee for the second-most in the majors behind Oakland's 46 ... Gallardo has gotten a decision in each of his 10 starts this season.