SANTA CLARA, Calif. -- An unruly Giants fan was bloodied after being forcibly ejected by seven security officials during the second half of the team's 31-21 loss to the 49ers on Sunday at Levi's Stadium.

The unidentified fan, who was wearing the jersey of cornerback Janoris Jenkins, and another fan in an Odell Beckham Jr. jersey were cursing at the Giants players as they walked back to the sideline after allowing a fourth-quarter touchdown that gave the 49ers a 31-13 lead, according to eyewitnesses who videoed the incident.

The rowdy fans were seen flipping their middle fingers and cursing at Giants players in footage provided to NJ Advance Media by Alex and Jakob Amster.

Alex Amster said the officers gave a warning to the fan in the Jenkins jersey, but "he kept cussing so they tried throwing him out of the stadium. He resisted and stayed in his seat. They tried to carry him out, but he was fighting back and heckling and even tried to spit on the officer."

The fan, who was sitting in the first row behind the Giants' bench, was tossed over the railing and onto the ground with a officer crashing on top of him.

The officer who came over the railing appeared to throw several punches at the fan while they were on the ground as other officers restrained the fan.

"They started punching him and one officer had a bloody nose because of this," Amster said. "(The fan) got up super bloody and was escorted through the tunnel by the (officers)."

The fan also appeared to get tased while on the ground.

This Getty Images photo appears to show the fan getting tased: https://t.co/N1fV8LOSbt pic.twitter.com/OrwC05Okzn — Dan Duggan (@DDuggan21) November 13, 2017

The fan had blood next to his eyes on both sides of his face. He was handcuffed and led off the field through a nearby tunnel.

NJ Advance Media has reached out to the Santa Clara Police Department and the 49ers for comment.

Dan Duggan may be reached at dduggan@njadvancemedia.com. Follow him on Twitter @DDuggan21. Find our Giants coverage on Facebook.