SEATTLE —A slow and sloppy game turned into a fast and fun one at Husky Stadium, but in the end the Arizona Wildcats couldn’t keep up.

Washington topped Arizona 31-13 in the Pac-12 opener for both teams.

Washington scored with less than four minutes left to officially put the game away after an up-and-down performance from the Arizona offense.

Arizona’s offense gained 11 yards on 16 plays in the first quarter, but picked it up finished the half with 149 yards of total offense on 45 plays.

In the end, Arizona finished with more than 300 yards, but quarterback B.J. Denker struggled. The senior finished 14 for 35 for 119 yards and two interceptions. He did score a seven-yard rushing touchdown in the loss.

His night started rough.

Denker threw an interception—his first of the season—on his first pass attempt of the game. The Huskies scored on their opening drive when quarterback Keith Price found receiver Kevin Smith for a seven-yard touchdown. The Huskies botched the extra point and took a 6-0 lead.

After Arizona punted on its second possession, cornerback Shaq Richardson picked off Price and returned it 20 yards to midfield. The Wildcats couldn’t take advantage of the takeaway though and punted on the ensuing drive.

The Wildcats’ defense forced a pair of Washington punts, including one that landed on Arizona’s two-yard line. The UA couldn’t pick up a first down and then when attempting to punt the snap went through punter Drew Riggleman’s hands for a Washington safety to make it 8-0.

The Huskies got a 42-yard field goal from Travis Coons early in the second quarter to make it 11-0. That held up for most of the quarter before the Wildcats put together their 14-play, 84-yard drive that ended in a Ka’Deem Carey touchdown to make it 11-6.

Washington answered right away in the third quarter, opening the second half with a 14-play, 95-yard drive to go up 18-6. The Wildcats came right back, this time going 72 yards on 15 plays to cut it to 18-13.

The Huskies came right back—like a heavyweight-boxing match—and marched 90 yards on 10 plays to take a 25-13 lead.

That stayed the score until Washington running back Jesse Callier scored with 3:34 left to make it 31-13.

Carey, one of the few bright spots for Arizona, finished with 132 yards on 30 carries. He was also the leading receiver with four catches for 49 yards.

Washington running back Bishop Sankey had a school-record 40 carries for 161 yards in the win for the Huskies.