The Arizona Wildcats baseball team scored two runs in the eighth inning and held on to win a back-and-forth affair 10-9 over Arizona State at Packard Stadium in Tempe on Wednesday night.

In a nonconference game that had four lead changes, the UA (15-19) had 14 hits.

UA sophomore Scott Kingery led the way, going 3 for 4 with two RBIs and three runs scored.

Freshman left-hander Evan Hebert (1-0) pitched two scoreless innings before giving way to Bobby Dalbec. The freshman, who started out the game playing first base, gave up one hit in one scoreless inning to pick up his second save of the year.

The Wildcats took a 1-0 lead in the first when Trent Gilbert scored on a double by Michael Hoard.

The UA scored twice in the third inning. Kingery started a two-out rally with a single and stole second. After Hoard walked, Dalbec doubled in two runs. Willie Calhoun then singled in Dalbec to make it 4-0.

The Sun Devils (17-13) answered with three in the bottom of the third, but Arizona answered back a half-inning later.

Joe Maggi led off the inning with a single, moved to second on a sacrifice bunt by Jordan Berger and scored on a single by Kevin Newman to make it 5-3.

Kingery homered to left-center field in the fifth to give the UA a 6-3 lead.

ASU took the lead for the first time Wednesday night with a four-run fifth, capped by Dalton DiNatale’s two-run double.

The Wildcats retook the lead at 8-7 with two runs in the sixth.

But in the bottom of the inning, ASU responded with a two-run single by R.J. Ybarra for the third lead change of the night.

The Wildcats tied the game in the eighth on an RBI single by Kingery and took the lead for good when Kingery scored on an error.