TUCSON, Ariz. (AP) Arizona went on a big run, then had a rash of turnovers and defensive mistakes to let Oregon back in it. The Wildcats again went on a big run, again allowed the Ducks to rally.

A third time put Oregon away.

Allonzo Trier scored 25 points, Deandre Ayton added 24 and No. 17 Arizona used that late run to outlast Oregon 90-83 on Saturday.

"It's a huge win, especially since Oregon is rolling and had a huge win in Phoenix against ASU," said Arizona's Rawle Alkins, who had 13 points and six assists. "We had to protect our home court."

Arizona (14-4, 4-1 Pac-12) grinded out a defense-dominated win over Oregon State on Thursday. It was all about the offense on Saturday, two long, athletic teams trading runs throughout an entertaining game.

Arizona had the last one, scoring eight straight points to go up 84-77 with 72 seconds left. The Wildcats shot 53 percent from the field to beat the team that ended their 49-game home-court winning streak a year ago.

Oregon (12-6, 2-3) rallied from double-digit deficits three times, but couldn't muster a final comeback to leave the desert with a split between the Pac-12's two Arizona schools.

Elijah Brown scored 25 points and MiKyle McIntosh had 20 for the Ducks.

"The last 4 minutes were the difference," said Oregon guard Payton Pritchard, who had 12 points and seven assists. "But I think we made a jump this week."

Oregon had been in a funk before this week, losing two of its first three Pac-12 games, including a disheartening 76-64 setback against rival Oregon State.

The Ducks bounced back on Thursday with a strong all-around game, knocking of No. 11 Arizona State 76-72 for their first win as an unranked team against a top-11 team in 41 years.

Oregon dominated the Sun Devils in the paint, outscoring them by 22 inside while grabbing 15 offensive rebounds.

Arizona, with Ayton and fellow 7-footer Dusan Ristic inside, was literally a much bigger challenge and the Wildcats played it to their advantage early.

Working the ball inside for shots at the rim and kickouts, the Wildcats jumped on the Ducks after opening with consecutive turnovers. Arizona hit its first six shots and blew past Oregon with a 17-2 run to go up 21-9.

"Those are some pretty big guys inside there," McIntosh said.

The Ducks rallied after Arizona State went on a big first-half run and did the same thing against Arizona - twice. The second one, 12-0, pulled them within 32-31.

Arizona led 41-38 at halftime after both teams shot at least 50 percent.

The Wildcats kept the run trend rolling, scoring eight straight points to go up 51-40 early in the second half. Oregon took its turn, tying the game at 55-all.

BIG PICTURE

Oregon may have lost, but a road win at Arizona State and taking Arizona to the wire at McKale Center could be just what the Ducks need to get some traction after a slow Pac-12 start.

Arizona proved it can win with defense and offense in beating the two Oregon schools this week.

FOULS, FOULS, FOULS

The game was high-scoring with plenty of highlight-reel plays, an amazing feat considering how many times the game was stopped by whistles.

The teams combined for 51 fouls, with Oregon's McIntosh and Paul White fouling out. Arizona made 34 of 37 free throws and Oregon was 21 for 24.

"Our ability to make free throws was the difference in the game," Arizona coach Sean Miller said.

SORKIN SLIDES

Oregon senior forward Roman Sorkin gave his team a big lift in the win over Arizona State, finishing with 13 points after scoring 10 the previous 10 games. He had little impact on this one against Arizona's massive post players, scoring two points in 2 minutes.

PINDER'S LIFT

Arizona's Keanu Pinder did not play against Oregon State, but gave the Wildcats a boost of energy off the bench against Oregon. The senior forward from Australia had a blocked shot shortly after entering the game and energized the crowd with a thunderous dunk in the first half. He finished with six points and two blocked shots.

"I just have to stay ready," Pinder said. "You never know when you're going to get the opportunity. I got the opportunity and ran with it."

UP NEXT

Oregon heads to Southern California to face USC on Thursday and UCLA next Saturday.

Arizona plays California on Thursday and Stanford next Saturday.

---

For more AP college basketball coverage: collegebasketball.ap.org and twitter.com/AP-Top25