WOODSIDE, Queens — A man was stabbed during an altercation on an LIRR train at Woodside Station, MTA police said Saturday.

It happened just after 6 p.m., when a 45-year-old man stabbed a 22-year-old man in the leg, police said.

The 45-year-old was taken into custody and charges are pending.

Social media video from the scene showed the altercation, where numerous people on the train seemingly tried to subdue the alleged attacker.

Editor's note: Twitter video from the scene depicts the violent altercation and contains graphic language.

The stabbing happened following a day of costumed partying across New York at the annual SantaCon.

A witness on social media said the 45-year-old started the altercation.

Following the incident, LIRR trains experienced delays.