ARLINGTON, Texas -- Adrian Beltre drilled a two-run walk-off home run with two outs in the ninth, lifting the Texas Rangers to a 7-6 win over the Oakland Athletics on Monday night at Globe Life Park.

Beltre's second homer of the game sailed into the A's bullpen off closer Ryan Madson. The Rangers rallied from a 5-1 deficit to beat their American League West rivals for the fourth straight time.

Texas (58-42) extended its winning streak to three in the opener of a seven-game homestand. The Rangers also upped their lead in the division to 3 1/2 game with Houston's loss to the New York Yankees.

Oakland (45-55) saw its three-game winning streak snapped. The A's are still tied for the best record in the majors since the All-Star break at 7-4.

Texas reliever Jason Diekman (2-1) was credited with the win, but starter Martin Perez kept the Rangers in the game after getting roughed up early. The lefty allowed five runs (three earned) through the first three innings on five extra-base hits before retiring seven of the last eight batters he faced in six innings of work.

Oakland starter Daniel Mengden continually found himself in trouble and couldn't make it out of the fifth after giving up four runs on seven hits. The rookie did depart with a 5-4 lead.

The division rivals traded runs in the seventh to keep it a one-run game. Josh Reddick's two-out single scored Matt McBride off Texas reliever Matt Bush. Texas countered with Beltre's slicing homer just inside the right-field foul pole against Oakland reliever John Axford.

The Rangers are 4-4 against the A's following the first meeting between the clubs in Texas. The first seven matchups were in Oakland.

All 13 runs by the two clubs were scored with two outs.

SI Apps
We've Got Apps Too
Get expert analysis, unrivaled access, and the award-winning storytelling only SI can provide - from Peter King, Tom Verducci, Lee Jenkins, Seth Davis, and more - delivered straight to you, along with up-to-the-minute news and live scores.