Penn State’s upset bid fell short on Thursday night, thanks to some late heroics from Purdue’s Carsen Edwards.

The Nittany Lions held an 85-83 lead with :13 left in regulation but lost the ball out of bounds with a chance to take a four-point lead and essentially seal the game. Out of a timeout, Edwards then took the ball the length of the court and drove in for a game-tying layup with :05 left in the contest. Penn State had one more shot to win in regulation, but Rasir Bolton’s three-point attempt was blocked by Nojel Eastern, sending the game to overtime.

Purdue’s Trevion Williams got a layup and Edwards followed up with a four-point play, giving the Boilermakers an early 91-85 lead. That was enough to secure the win. The Boilermakers went on to outscore Penn State 14-5 in the overtime period, registering a 99-90 win.

Edwards finished with a game-high 38 points in the victory, just two points shy of his career best. Ryan Cline added 20 points and Williams chipped in with 10. It was the sixth straight win for the 17th ranked Boilers, who are now 8-2 in the B1G and 15-6 overall.

For the Lions, Lamar Stevens had 24 points, Myles Dread had 14 and Josh Reaves scored 11. Penn State is still searching for its first B1G win of the season. It’s now 0-10 in conference play and dropped to 7-14 on the year.

Purdue will host Minnesota on Sunday at Mackey Arena. Penn State travels to Northwestern next Monday.