The Maryland Terrapins upset the No. 3 Purdue Boilermakers Thursday night at home, handing Purdue its second straight loss as fans madly stormed the court to celebrate. 

Maryland trailed 37-29 early in the second half but went on a 29-4 run to take down Purdue, 68-54. 

The Maryland court is stormed after beating Purdue

The Maryland Terrapins fans storm the court after a 68-54 victory against the Purdue Boilermakers at Xfinity Center on Feb. 16, 2023, in College Park, Maryland.  (Greg Fiume/Getty Images)

It was the fourth top-25 win of the season for the Terrapins, but the first top-3 win since 2016. 

MICHIGAN TO PUT MICHIGAN STATE RIVALRY ASIDE IN FIRST BASKETBALL GAME FOLLOWING SCHOOL SHOOTING

And the Maryland faithful understood the assignment. 

The Terrapins got 20 points from senior Jahmir Young to move to 9-6 in conference play. 

BIG COLLEGE BASKETBALL BRAWL BETWEEN RIVAL TEAMS LEADS TO SUSPENSIONS 

"I knew we were going to win," Maryland head coach Kevin Willard said. "This was not a surprise to me. This is an unbelievable program. It’s one of the best programs in the country. I thought it was important for the fan base and it was important for the students to just understand what this program is really all about."

For Purdue, Thursday night was the second consecutive loss to an unranked opponent, with the Boilermakers going down against Northwestern on Sunday. 

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Purdue got 18 points from Zach Edey and Braden Smith but were outrebounded by Maryland, 35-23.

Maryland celebrates with fans after beating Purdue

Hakim Hart and Julian Reese of the Maryland Terrapins after a 68-54 victory against the Purdue Boilermakers on Feb. 16, 2023, in College Park, Maryland. ( Greg Fiume/Getty Images)

"We have to be tougher," Purdue coach Matt Painter said. "You have to come in here and win the possession battle. You have to have more rebounds and fewer turnovers. Now you can start right there and work toward something. We didn’t do that. When you get on the road, and you have fewer possessions and now you don’t shoot well, oh that’s going to be a long night versus a quality team."

CLICK HERE TO GET THE FOX NEWS APP

Julian Reese celebrates with fans after beating Purdue

Julian Reese of the Terrapins celebrates after a 68-54 victory against the Purdue Boilermakers on Feb. 16, 2023, in College Park, Maryland. (Greg Fiume/Getty Images)

Purdue is likely to slip further in the polls after dropping from No. 1 following its loss to Northwestern.

The Associated Press contributed to this report