3rd grader told by school to dump Trump hat. Kid refuses to be bullied.

Logan Autry is not your ordinary 9-year-old boy.

The third-grader enjoys politics and knows his First Amendment rights.

So when his elementary school forced him to remove a hat in support of presumptive Republican presidential nominee Donald Trump on Thursday in a Fresno classroom, Logan knew something was amiss.

“It’s my favorite hat,” Logan told KSEE-TV. “The First Amendment says I can wear my hat.”

The red “Make America Great Again” hat, like one worn by Trump at campaign rallies, drew the ire of school officials.

School officials at Powers-Ginsburg Elementary School told him to remove his hat because they feared for his safety and that it could cause “negative emotions,” Logan said. Other students had confronted him and said Trump was “stupid,” the boy said.

“I had to explain to them what Donald Trump was actually doing,” Logan told the news station.

Logan saw the presidential candidate at a rally on May 27 in Fresno. There, he met Trump, who autographed his hat.

Logan refused to remove his hat at school, but then the principal asked. Logan, who hopes to become a politician one day, stood firm and said, “No.”

Fresno Unified School District issued a statement to the media, saying that as educators, they must provide “a safe learning environment where we encourage robust conversations of diverse … thoughts.”

“We are proud that in this case, our school achieved that goal by allowing the student to wear his hat for several days,” the district said. “However, it is also our responsibility to take precautions when the discourse begins to impact our school climate and interrupt school operations.”

According to the school district’s dress code, hats can be worn only outside the classroom. But if the hat causes “safety concerns, draws undue attention to the wearer or tends to detract from the educational process,” it will be prohibited.