STATE COLLEGE, Pa. -- Illinois' 7-foot-1 center Meyers Leonard fouled out, so Penn State coach Patrick Chambers knew exactly what play to run off a timeout with 16 seconds left and the game on the line.
Give the ball to point guard Tim Frazier and have him attack the basket.
Frazier hit a floater in the lane with 8 seconds left and Jermaine Marshall blocked Sam Maniscalco's layup at the buzzer to give Penn State a 54-52 upset of Illinois (No. 25 ESPN/USA Today, No. 22 AP) on Thursday night.
Frazier finished with 12 points and nine assists for the Nittany Lions (10-10, 2-5 Big Ten), who ended a three-game losing skid.
"Let's simply get him a good screen," Chambers said about calling the play for Frazier. "I like my chances against a backup center."
Frazier drove at the top of the key before Jon Graham's pick freed him from hounding defender Brandon Paul for the basket going to his right.
Illlinois didn't follow the scouting report on Frazier on the play.
"The one thing we wanted to do was force him left. He's much better right," Illini coach Bruce Weber said. "Give him credit, he used the ball screen."
The Illini (15-4, 4-2) lost for the first time since re-entering the Top 25 this week. They had a short stay atop the Big Ten as the league's lone one-loss team in conference play.
Paul had 20 points, while Leonard added 15 for Illinois, which played for the first time since upsetting then-No. 5 Ohio State on Jan. 10.
"We didn't play well. I didn't coach well," Weber said. "I didn't prepare them well enough ... We weren't very sharp."
The Illini chipped away at a nine-point deficit several times in the second half thanks in part to better ball movement. Paul's 3 from the left wing with 39 seconds left tied the game at 52.
But Illinois couldn't break through after shooting 33 percent in the first half and going scoreless for an 8-minute stretch spanning both periods. Illinois shot 34 percent (17 of 49) for the game.
Frazier, Penn State's point guard, picked up his fourth foul with 5:12 left and the Illini down a point, but they couldn't exploit the situation.
Cammeron Woodyard finished with 17 points for Penn State, while Marshall finished with seven points and five rebounds.
But the highlight of Marshall's game was his lunging tip to deflect Maniscalco's shot at the end of the game.
Chambers was so proud of Marshall he made sure to single him out in the locker room after the game.
"I'm happy for Jermaine. I've been all over Jermaine about defending, rebounding and taking care of the little things and that's what he did," Chambers said. "He stepped up."
Illinois' poor start from the field warmed Nittany Lions fans hoping to witness another tight game with the Illini on a chilly, snowy night in Happy Valley. Five of the last eight games in the series have been decided by two points or less. Penn State won 57-55 at home last season, over then-No. 16 Illinois.
They pulled out another close one, this time to get first-year coach Patrick Chambers his first victory over a ranked opponent in Happy Valley.
Wearing an alternate, all gray uniform for the first time in program history, the Nittany Lions scored another key win over Illinois to rock the Jordan Center. Paul scored nine points in the first half, when Illinois shot just 8 of 24 from the field to trail 25-23.
"It (builds) confidence, there's no question," Chambers said. "They see now they could be a good team, have faith in what Penn State basketball is all about -- that's defending and rebounding."
The Nittany Lions played without starting forward Billy Oliver, the team's fourth-leading scorer at 7.3 points per game, because of an undisclosed illness.