Pittsburgh defensive lineman Devin Danielson went viral for an odd reason Saturday night.

Danielson and the Panthers were in a battle with Miami in the final game of the regular season. Danielson and the team had the game all but wrapped up in the fourth quarter when he was seen on the sideline smashing his own helmet into his head.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Devin Danielson vs Virginia

Pittsburgh Panthers defensive lineman Devin Danielson, #95, in the trenches during a college football game between the Pittsburgh Panthers and the Virginia Cavaliers on Nov. 12, 2022, at Scott Stadium in Charlottesville, Virginia. (Lee Coleman/Icon Sportswire via Getty Images)

Danielson’s teammates were left in shock by what they saw.

Pittsburgh linebacker SirVocea Daniels praised Danielson’s passion for the game.

"Everybody is passionate for the game," Dennis said, via the Pittsburgh Tribune-Review. "Things happen. That’s just how he handles it. Devin’s good. That’s not the first time he did that."

WISCONSIN TAPS LUKE FICKELL FOR FOOTBALL JOB AFTER GREAT RUN WITH CINCINNATI: 'HE IS A TRANSFORMATIVE HIRE'

Devin Danielson in 2021

Pittsburgh Panthers defensive lineman Devin Danielson, #95, walks onto the fielded before the game against the Western Michigan Broncos at Heinz Field in Pittsburgh Sept. 18, 2021. (Charles LeClaire-USA TODAY Sports)

The senior defensive tackle finished with one tackle in the 40-16 victory. He played in 10 games for Pittsburgh this season, recording 15 total tackles and two sacks.

With the win, Pittsburgh finished the regular season with an 8-4 record including five wins against ACC opponents. The team finished second in the conference’s Coastal Division behind North Carolina.

Pittsburgh is likely headed for a bowl game for the second straight season and fifth time under Pat Narduzzi.

Devin Danielson vs Georgia Tech

Pittsburgh Panthers defensive lineman Devin Danielson, #95, stands for the national anthem against the Georgia Tech Yellow Jackets at Acrisure Stadium in Pittsburgh Oct. 1, 2022. (Charles LeClaire-USA TODAY Sports)

CLICK HERE TO GET THE FOX NEWS APP

The Panthers had 11 wins last season but lost their Peach Bowl matchup against Michigan State 31-21.