The boy was arrested the next day after the classmate told school officials, police said. View Full Caption DNAinfo/Leslie Albrecht

EAST HARLEM — A 12-year-old girl fearlessly snubbed a classmate who held a gun to her head while demanding some of her chicken nuggets, the NYPD said.

The girl had been to a McDonald’s on Jan. 10 around 5:40 p.m. to grab some Chicken McNuggets when her Harlem Democracy Prep Middle School classmate, also 12, demanded she give him one.

When the girl refused, he pulled out a gun and held it to her head, police said.

The girl smacked the gun away and headed toward the 6 train on East 103rd Street and Lexington Avenue, police said.

The boy followed her onto the train and then displayed the gun again, she told police.

The next day the girl told school officials, who called the police. Her classmate was arrested and charged as a juvenile, police said.