ARLINGTON, Texas (CBSDFW.COM/AP) — Khris Davis benefited from comfortable hitting surroundings despite playing halfway across the country from his home ballpark.

The Oakland slugger homered for the first time in nearly a month as the Athletics built an eight-run lead, then hung on to beat the Texas Rangers 9-8 on Sunday for a four-game series split.

Davis hit a two-run homer off Drew Smyly (1-5) in the third inning, his 13th home run this season but first since May 13. Davis sustained a left hip and oblique injury on May 5, tried to play through it and was out from May 22-31. Davis has 17 homers in 32 games at Globe Life Park, and he added an RBI single in the ninth against José Leclerc, giving him 34 RBIs this season.

“Just got to stay within myself and weather the storm of the season,” Davis said. “The power’s going to come and go, but it just felt good to help the team out.”

Frankie Montas (8-2) improved to 4-0 in his last seven starts, allowing three runs — two earned — and seven hits in six innings. He matched his career high with 10 strikeouts, getting his final six outs on Ks.

“I would say the last two innings I was feeling better than the first four,” Montas said.

Matt Olson homered in the second off Smyly, who gave up five runs and six hits in three innings. Smyly has an 8.40 ERA and failed to finish four innings for the fifth time in nine starts.

Texas trailed 8-3 in the eighth when Asdrúbal Cabrera and Rougned Odor hit consecutive RBI doubles, and Odor stole home off left-hander Ryan Buchter, who was slow to step off the rubber and throw home.

Odor bluffed a steal on the first pitch and saw Buchter didn’t react.

On the second pitch, “I just put my head down and kept going,” Odor said. He dove and stretched his left arm between the legs of catcher Josh Phegley.

Cabrera, who homered in the sixth, hit an RBI single in the ninth against Blake Treinen, and Texas closed to 9-8 within on a run-scoring passed ball by Phegley. Odor walked and with runners on first and second, Treinen retired Ronald Guzmán on a game-ending flyout for his 14th save in 16 chances.

Stephen Piscotty hit a line drive off Smyly’s left knee in the second inning. Smyly was examined by head trainer Matt Lucero, and Olson then hit the next pitch into the upper deck in right field. Smyly said that was the only pitch affected by being hit by Piscotty’s liner.

Hunter Pence robbed Mark Canha of an extra-base hit in the first inning. Pence ran to the wall in left, leaped and made the catch at the out-of-town scoreboard with his left hand while clutching the scoreboard’s protective rubber netting with his right hand.

The Rangers are now 34-30 and start a road trip Monday, starting with the Boston Red Sox.

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)