ARLINGTON (CBSDFW.COM/AP) — Kyle Gibson pitched into the sixth inning and helped the Texas Rangers end another losing streak.

Andy Ibañez and Jose Trevino hit three-run homers to back Gibson as the Rangers snapped a six-game losing streak with an 8-3 win over the Oakland Athletics and Elvis Andrus in the shortstop’s return to Texas for the first time since getting traded. It was the fourth time this season the veteran right-hander started a win that ended a losing streak of at least three games for his team.

READ MORE: Drug Dog Sniffs Out Illegal Narcotics, Unloaded Handgun In Jacksboro High School Student's Car

“That third inning, just kind of felt like I was fighting myself all night after that and I was just trying to find a pitch I could throw for a strike,” Gibson said. “Just one of those weird nights, probably the first time in a while that I didn’t feel comfortable with my delivery, didn’t feel comfortable with where the ball was going.”

Andy Ibanez #77 of the Texas Rangers hits his first major league home run against the Oakland Athletics on June 21, 2021 in Arlington, Texas. (credit: Richard Rodriguez/Getty Images)

Ibañez hit his first major league homer as part of a five-run first against Frankie Montas (7-7). The 28-year-old Cuban infielder made his big league debut last month and was recalled Monday after four homers his last nine games at Triple-A Round Rock.

Trevino hit a 420-foot drive to straightaway center for an 8-2 lead in the sixth, one batter before Montas was pulled.

“Playing with a five-run lead right from he beginning kind of puts everybody at ease a little bit. And you have your best guy on the mound,” manager Chris Woodward said. “That probably wasn’t obviously Gibby’s best start, but he still found a way to to get us into the sixth inning.”

Andrus got a nice ovation when he came to bat in the second inning. It kept getting louder, and he eventually stepped out of the batter’s box with a smile on his face and tipped his helmet to the crowd.

“No surprise that he got the type of reception that he did. Monday night, good crowd, probably a lot had to do with Elvis coming back to town and playing. I think we all got a little choked up too,” A’s manager Bob Melvin said. “He’s meant so much to this city and this team and been with them so long.”

Many in the announced crowd of 20,259 got Andrus bobbleheads when entering the building. Those were initially part of planned giveaways last year that never happened since the Rangers played the 2020 season without fans in their new ballpark because of the coronavirus pandemic.

READ MORE: Police: Weekend Shootings In Dallas' Deep Ellum Left 2 Dead, Teenaged Suspect In Custody

Andrus was traded just before spring training after deciding last offseason that Isiah-Kiner Falefa would move to shortstop after winning a Gold Glove at third base last season. Andrus was the longest-tenured player in Texas, the starting shortstop for 12 seasons and lone player remaining from the franchise’s only World Series appearances in 2010 and 2011.

Andrus, hitting .220 after going 0 for 4, reached on an error by Kiner-Falefa in the eighth but was promptly retired when Sean Murphy hit a liner right at first baseman Nate Lowe, who turned and tagged out Andrus for a double play.

Gibson (5-0, 2.17 ERA) struck out three and walked three giving up two runs over 5 1/3 innings. The right-hander has made 15 consecutive starts without a losing decision, though that streak includes his first career opening day start, when the Rangers had its only other five-run first this season. Gibson then gave up five runs while recording only one out in the bottom of the first at Kansas City.

Since that opener, Gibson has given up more than two runs in a start only once.

The A’s had a couple of two-out walks before getting a hit off Gibson, on Murphy’s one-out solo homer in the fifth. Matt Olson and Ramón Laureano had back-to-back doubles to open the sixth.

Montas struck out six, but gave up eight runs and nine hits in 5 2/3 innings.

“It was really humid, I got sweat all on my palms,” Montas said. “That made the ball slippery.”

MORE NEWS: 101 Texas Lawmakers Who Supported/Voted For New Abortion Law Being Threatened

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

CBSDFW.com Staff