An Erie Community College hockey player is facing charges after he left the penalty box and allegedly attacked a referee Sunday, ending the school's 7-4 loss to Dakota College of Bottineau in the final National Junior College Athletic Association championship game.

Freshman defenseman Brandon Day -- who went after the referee with 39 seconds left -- is in police custody after the incident, which occurred at the SUNY Broome Ice Center in Binghamton, New York.

A SUNY Broome police spokesperson told ESPN that Day was in the process of being charged, but did not specify what charges he was facing.

It was not clear from video of the incident what motivated Day, who charged from the penalty box and knocked the referee to the ice before two other officials wrestled Day to the ice.

Officials decided to end the game at that point. Bottineau won its 10th title in the game that marked the end of the NJCAA hockey championship. The competition is being dropped because of a lack of teams.