Texas turned three Tampa Bay miscues into a three-run sixth inning and the Rangers beat the Rays 4-3 on Saturday night.

The Rangers took a 4-3 lead during the decisive sixth when two runs scored after center fielder Mallex Smith misplayed Adrian Beltre’s two-out deep fly ball, and Beltre scored on two wild pitches by Chris Archer with Mike Napoli at the plate.

Elvis Andrus, who entered the series hitless in 16 at-bats, homered in his second consecutive three-hit game for the Rangers, who have won two straight following a five-game skid.

Andrew Cashner (5-8) gave up three runs and four hits over six innings. Alex Claudio, the third Rangers reliever, got four outs for his fourth save.

Claudio went two scoreless innings in Texas’ 4-3, 10-inning win over the Rays Friday night to get his second win.

Archer (7-6) allowed four runs, four hits and struck out 11 to set a team record with his 24th career game with double-digit strikeouts. game. David Price had 23 double-digit strikeout games with the Rays.

Steven Souza Jr. had an RBI single and Evan Longoria hit a two-run single as the Rays went up 3-0 in the third.

Archer retired his first 10 batters before Andrus homered in the fourth. Andrus had a homer and two RBIs Friday night.

TRAINER’S ROOM

Rangers: RHP A.J. Griffin (left intercostal strain) will make his third rehab start Monday with Double-A Frisco.

Rays: Reliever Jonny Venters, trying to comeback after multiple elbow surgeries, has eight scoreless innings between Class-A Charlotte and the Gulf Coast League Rays.

DEADLINE LOOMING

Texas general manager Jon Daniels says the priority remains to win this year but that the team will also “be pragmatic and really consider our options” heading into the non-waiver trade deadline at the end of the month. The Rangers have three starting pitchers, including Yu Darvish, who could be free agents after the season.

GETTING CLOSE

Beltre moved within 13 hits of becoming the 31st player to have 3,000 with an infield single in the fourth.

UP NEXT

Rangers RHP Tyson Ross (2-2, 7.22 ERA) will make his seventh start since returning after surgery to relieve Thoracic Outlet Syndrome in Sunday’s series finale.

Rays: RHP Jake Odorizzi (6-4) looks to go 5-0 against the Rangers Sunday. He will also try to stop a stretch of allowing a homer in 14 straight games. Since Baseball Reference data is first available in 1913, only seven pitchers have had a streak that long.