CHAMPAIGN, Ill. (AP) — Illinois owned the lead at halftime Wednesday, and they owned an edge on the boards over Purdue that helped the Illini get there.

All that changed over the next 20 minutes.

READ MORE: Judge OKs Agreement To Destroy Gun Used By Kyle Rittenhouse; $2 Million For His Bail At The Center Of A Legal Fight

The Boilermakers (12-5, 2-2 Big Ten) out-rebounded the Illini 23-7 in the second half, and picked up a 66-58 road win that gives them a modest two-game win streak.

“Going down the stretch, getting stops, getting long rebounds, knocking down 6-footers at the end, it was big for us,” Purdue coach Matt Painter said. “We wanted to try to turn that on them and I thought we did that. It was the difference in the game.”

Illinois coach John Groce agreed. He said his team, which has now lost three straight, was downright abused on the boards.

“It’s unacceptable. They were tougher than us physically and they threw us around like a bunch of rag dolls,” Groce said. “Our guys better figure out quickly the toughness required.”

A.J. Hammons led Purdue with 17 points and a game-high eight rebounds.

The Boilermakers trailed 33-29 at halftime, but they opened the second half with 10-5 run to regain the lead and held off the Illini (13-5, 2-3).

The 7-foot Hammons was a force inside for Purdue. He finished with a game-high eight rebounds — the Boilermakers held a 42-31 advantage on the boards — and was a big reason why Purdue scored 30 points in the paint.

Illinois center Nnanna Egwu didn’t score Wednesday in 33 minutes and had just four rebounds.

“Tonight, obviously, Hammons was a load,” Groce said.

Ronnie Johnson added 13 points for Purdue while Terone Johnson had 10.

Tracy Abrams led Illinois with 13 points. Rayvonte Rice had 10 by halftime but the Boilermakers stifled the Big Ten’s leading scorer in the second half. He came in averaging 18.1 points a game but finished with 11.

Rice played with a hip injury that led head coach John Groce to question earlier in the week if he would be able to play at all.

Painter said the Boilermakers didn’t change anything in their approach to Rice after halftime.

READ MORE: Chicago Weather Alert: Snow Totals From Lake Effect Snowstorm

“Not really. We tried to keep the ball in front of him,” Painter said.

Illinois stayed close through the second half but, fittingly, it was a bucket from Hammons that put the Boilermakers in control for good.

With 2:35 to play the Illini pulled back to within a point at 58-57 on a long, low-arc 3-pointer by Jon Ekey. The low shot looked like it might not fall, but when it did the crowd got loud and on its feet.

But at the other end, with Illinois playing tough defense, Hammons pulled down a Ronnie Johnson miss and calmly sank the short jumper for a 60-57 edge that, after the strong start to the half, would prove to be enough.

The final points of that early-second half run fell into the Boilermakers’ laps in spite of Painter’s efforts to get Ronnie Johnson to slow the offense down.

“Hold up, Ronnie! Hold up!” Painter shouted at the guard.

Johnson didn’t listen. Instead he quickly hit Basil Smotherman as he broke under the basket for a bucket that put the Boilermakers back on top, 39-38 and drew a “why not?” shrug from Painter.

The Boilermakers led much of the first half, too. But as they headed down the tunnel at the State Farm Center at halftime, they had to wonder what has just happened.

With 3:52 left in the half, Purdue was up 27-19, its biggest lead of the night, and had just scored six straight points. The Illini didn’t appear to have an answer.

But then Illinois started finding its range, thanks mainly to Abrams.

The junior guard sandwiched four straight jump shots around a 3-pointer from Kendrick Nunn to put Illinois back on top. Abrams’ last dagger, a long 3 from way outside, put the Illini up 31-29 with 37 seconds before the half and they took a 4-point lead into intermission.

Purdue has won nine of the last 10 games with Illinois.

With the game Wednesday, the Boilermakers opened a stretch of three in seven days — including Penn State at home Saturday and at Northwestern Tuesday — that give the Boilermakers a chance to bounce back from a 1-2 Big Ten start.

MORE NEWS: Chicago Weather Alert: Residents In Wilmette Begin Clean Up After Lake Effect Snow Brings 8 Inches

(© 2014by STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.)