03/07/2011 03:28 pm ET Updated May 25, 2011

Jason Demers Punches Brian Mach: Sharks Defenseman Accidentally Hits Linesman (VIDEO)

Note to self: Don't punch the linesman.

Late in the second period of Saturday's game between the San Jose Sharks and Dallas Stars, Sharks defenseman Jason Demers accidentally nailed linesman Brian Mach during a scuffle with Dallas' Steve Ott.

According to Sharkspage, Demers immediately apologized after the referees penalized him for roughing. He also apologized as Mach lead him off the ice.

"I wasn't looking at (Mach) at all, I was looking through him to Ott. Mach sort of jumped in the way," Demers explained after the game. "He knew, and he was fine with it. I didn't have any intention of doing that, it was inadvertant. Things happen in the heat of the moment."

Scroll down to watch the video.