SCOTTSDALE, Ariz. -- The Rangers rallied for three runs in the ninth inning to take a 6-4 victory over the D-backs at Salt River Fields at Talking Stick on Monday.

The Rangers tied the game in the ninth when Doug Deeds was hit by a Juan Gutierrez pitch with one out and the bases loaded, and went ahead for good when Chris Davis singled home Craig Gentry.

Facing Rangers closer Neftali Feliz in the seventh, singles by Juan Miranda and Kelly Johnson gave the D-backs runners at the corners with one out. Chris Young hit a grounder back to the mound but Feliz could only get the force at second, allowing a run to score for a 3-2 D-backs advantage. Feliz has a 2.12 ERA in the spring.

D-backs starter Daniel Hudson finished a strong spring by throwing 5 2/3 scoreless innings in his last start of the spring exhibition season. He will face the Rockies on Saturday at Coors Field in the D-backs' second game of the season. He allowed four hits, two walks and struck out four, lowering his ERA to 3.18 for the spring. The Rangers were 0-for-5 against him with runners in scoring position.

Rangers starter Matt Harrison finished his spring with a 3.91 ERA after allowing two runs on four hits and two walks with three strikeouts. Harrison is in line to make his first start of the season on Sunday, against the Red Sox at Rangers Ballpark in Arlington.

D-backs first baseman Russell Branyan hit a two-run homer off Harrison in the second inning. It was his fifth home run of the spring and gave him 21 RBIs, most by any National League player. Mitch Moreland had a pair of doubles for the Rangers.

Rangers shortstop Elvis Andrus fouled a ball off his left leg in the third inning and had to leave the game with a bruised calf muscle. It is not expected to be serious.

Up next for the Rangers: Alexi Ogando will be on the mound for the Rangers when they face Coastal Carolina at 5:35 p.m. CT on Tuesday. The game is being played at BB&T Coastal Field in Myrtle Beach, S.C., home of the Rangers' new Class A farm team. The Chants are expected to pitch Matt Rein and Keith Hessler. The Rangers may have one or two of their own pitchers on the mound for Coastal Carolina, but manager Ron Washington said they want to give as many Chants pitchers a chance to pitch against the Rangers.

Up next for the D-backs: The D-backs play a pair of games Tuesday. They will travel to Mesa to finish out their Cactus League schedule with a 1:05 p.m. MST against the Cubs. Left-hander Joe Saunders, who will start the season's third game, will get the ball in that one. That game will be available on MLB.com's Gameday Audio. The D-backs then will play host to the Monterey Sultanes of the Mexican League on Tuesday night at 6:40 p.m. MST at Chase Field. The D-backs have not announced a starter for that game yet.