Four subway dancers attacked a straphanger who refused to move aside so they could perform in the middle of a Brooklyn train car, police said Thursday.

The four men, described as being in their 20s, walked onto the southbound A train in East New York at about 1:20 p.m. Wednesday, asking for money and shouting at people to step aside so they could do their routine, according to police.

When the 40-year-old victim, who was with his 26-year-old girlfriend, refused to move, one of the dancers punched him in the face, cutting him on his left cheek, police said.

All four men then began punching him, and when his girlfriend tried to intervene, one of them hit her, too.

“Stay out of it,” one man said as he pushed her away, according to police.

The four men fled from the train when it pulled into the Euclid Avenue station.

The 40-year-old man suffered cuts and bruises to his head and face.