A student carrying a flag emblazoned with the word “Trump” was assaulted outside a high school in Minneapolis during Wednesday’s national school walkout, police said.

The unidentified flag-waving student was confronted by two classmates at Southwest High School as students gathered outside early Wednesday to protest gun violence after a shooting that left 17 people dead at a Florida high school last month, WCCO reports.

Six other students then joined the skirmish — which occurred across the street from the school — and took the flag from the victim. He suffered minor injuries and his camera was damaged, according to the station.

Police said a school resource officer intervened and stopped the confrontation. No arrests had been made as of late Wednesday, WCCO reports.

Calls seeking additional comment from police in Minneapolis were not immediately returned early Thursday.

Officials at Southwest High School referred inquiries to Minneapolis Public Schools. A spokesman for the district told The Post that a comment would be released on the matter later Thursday.