Surveillance video released by the NYPD on Monday shows a gang of young men attacking another guy with sticks and a sword on a Queens street.

The 26-year-old victim was on 123rd Street near 101st Avenue in Richmond Hill at about 6:40 a.m. Sunday when he was approached by one of the toughs, who threatened him with a gun, police said.

“I’m going to kill you!” the gunman yelled at the victim, cops said.

The man tried to run away but tripped and fell, cops said.

The group of four then surrounded him, beat him repeatedly with two wooden sticks and cut him on the head with a long sword.

It was unclear what sparked the beatdown, police said.

The victim suffered serious injuries and needed many stitches to his head after the beating, police said. He was recovering in Jamaica Hospital.

His assailants, between the ages of 18 and 24, ran from the scene and were last seen heading south on 123rd Street.