Rookie Wyatt Mathisen hit his first two career homers, fellow rookie Daulton Varsho knocked in the go-ahead run with a triple, and the Arizona Diamondbacks rallied for a 7-3 victory over the Texas Rangers on Wednesday night.

The Diamondbacks were trailing 3-1 going into the sixth but rallied for a six-run inning off Rangers pitchers Wes Benjamin, Nick Goody and Brett Martin. Arizona sent 10 batters to the plate. Carson Kelly had a game-tying, two-run single, Varsho followed with the go-ahead triple, and then Mathisen and Tim Locastro hit back-to-back homers to push the lead to 7-3.

More Images
Texas Rangers' Leody Taveras celebrates after scoring on a ground out hit by teammate Isiah Kiner-Falefa during the first inning of a baseball game against the Arizona Diamondbacks, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Rookie Wyatt Mathisen hit his first two career homers, fellow rookie Daulton Varsho knocked in the go-ahead run with a triple, and the Arizona Diamondbacks rallied for a 7-3 victory over the Texas Rangers on Wednesday night.

Arizona Diamondbacks' Wyatt Mathisen (27) high fives manager Torey Luvollo after hitting a solo home run against the Texas Rangers during the fifth inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Benjamin was impressive through the first five innings of his first big-league start, giving up just one run on Mathisen's solo homer. But the first two D-backs batters of the sixth reached on hard-hit singles, which started the decisive rally. The left-hander gave up three runs on seven hits over five innings.

Texas Rangers starting pitcher Wes Benjamin throws against the Arizona Diamondbacks during the first inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

ROAD WOES

Arizona Diamondbacks' Kole Calhoun catches a fly out hit by Texas Rangers' Nick Solak during the first inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Mathisen is just the second D-backs player in franchise history to hit his first two career homers in the same game. The other was Conor Jackson in 2005.

Arizona Diamondbacks starting pitcher Alex Young throws during the first inning of a baseball game against the Texas Rangers, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Rangers: Texas wraps up its season with a four-game home series against the Houston Astros. RHP Lance Lynn (6-2, 2.53 ERA) makes his final start in the opener on Thursday.

Texas Rangers' Isiah Kiner-Falefa fields a ground ball hit by Arizona Diamondbacks' Ketel Mate during the first inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. Marte was safe on a throwing error by Kiner-Falefa. (AP PhotoMatt York)

Texas Rangers' Isiah Kiner-Falefa fields a ground ball hit by Arizona Diamondbacks' Ketel Mate during the first inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. Marte was safe on a throwing error by Kiner-Falefa. (AP PhotoMatt York)

Mathisen was batting ninth in the D-backs order and had just two hits in his first 19 big-league at-bats, but he smashed homers in back-to-back innings, the fifth and sixth, with both clearing the left-center field wall. He finished with three RBIs.

Texas Rangers' Leody Taveras celebrates after scoring on a ground out hit by teammate Isiah Kiner-Falefa during the first inning of a baseball game against the Arizona Diamondbacks, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Texas Rangers' Leody Taveras celebrates after scoring on a ground out hit by teammate Isiah Kiner-Falefa during the first inning of a baseball game against the Arizona Diamondbacks, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Benjamin was impressive through the first five innings of his first big-league start, giving up just one run on Mathisen's solo homer. But the first two D-backs batters of the sixth reached on hard-hit singles, which started the decisive rally. The left-hander gave up three runs on seven hits over five innings.

Goody (0-2) took the loss, giving up three earned runs and recording only one out. Sam Huff had two doubles for the Rangers. Isiah Kiner-Falefa had a triple and two RBIs.

D-backs starting pitcher Alex Young gave up three runs on six hits over five innings. Keury Mella (2-0) got the win with a scoreless inning of relief. The D-backs swept the two-game series from the Rangers.

Arizona Diamondbacks' Wyatt Mathisen (27) high fives manager Torey Luvollo after hitting a solo home run against the Texas Rangers during the fifth inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Arizona Diamondbacks' Wyatt Mathisen (27) high fives manager Torey Luvollo after hitting a solo home run against the Texas Rangers during the fifth inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

ROAD WOES

The Rangers had a 6-24 record away from Globe Life Field and finished the current road trip with a 2-7 record. The Diamondbacks weren’t much better with a 9-21 mark in their 30-game road schedule. Both teams finish the shortened season with a series at home.

RARE ROOKIE FEAT

Texas Rangers starting pitcher Wes Benjamin throws against the Arizona Diamondbacks during the first inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Texas Rangers starting pitcher Wes Benjamin throws against the Arizona Diamondbacks during the first inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Mathisen is just the second D-backs player in franchise history to hit his first two career homers in the same game. The other was Conor Jackson in 2005.

It's been a long road to the big leagues for Mathisen, who languished for years in the minors after being drafted in the second round by the Pittsburgh Pirates in 2012. The 26-year-old was signed by the D-backs before last season as a minor-league free agent and had 23 homers in Triple-A.

UP NEXT

Arizona Diamondbacks' Kole Calhoun catches a fly out hit by Texas Rangers' Nick Solak during the first inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Arizona Diamondbacks' Kole Calhoun catches a fly out hit by Texas Rangers' Nick Solak during the first inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Rangers: Texas wraps up its season with a four-game home series against the Houston Astros. RHP Lance Lynn (6-2, 2.53 ERA) makes his final start in the opener on Thursday.

Diamondbacks: Arizona has a day off on Thursday before a doubleheader on Friday against the Colorado Rockies. The D-backs will start RHP Taylor Clarke (2-0, 3.99) and RHP Zac Gallen (2-2, 3.00).

More AP MLB: https://apnews.com/MLB and https://twitter.com/AP_Sports

Arizona Diamondbacks starting pitcher Alex Young throws during the first inning of a baseball game against the Texas Rangers, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Arizona Diamondbacks starting pitcher Alex Young throws during the first inning of a baseball game against the Texas Rangers, Wednesday, Sept. 23, 2020, in Phoenix. (AP PhotoMatt York)

Texas Rangers' Isiah Kiner-Falefa fields a ground ball hit by Arizona Diamondbacks' Ketel Mate during the first inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. Marte was safe on a throwing error by Kiner-Falefa. (AP PhotoMatt York)

Texas Rangers' Isiah Kiner-Falefa fields a ground ball hit by Arizona Diamondbacks' Ketel Mate during the first inning of a baseball game, Wednesday, Sept. 23, 2020, in Phoenix. Marte was safe on a throwing error by Kiner-Falefa. (AP PhotoMatt York)