A New Jersey teen said a teacher ordered him to take down a Donald Trump banner hanging behind him in his home during a virtual class last week, according to local reports.

Anthony Ribeiro, a 17-year-old student at Toms River North High School said the teacher saw the banner and told him to remove it before class.

Anthony Ribeiro seated in front of his Trump 2020 banner. (Courtesy: Tara Jost)

Anthony Ribeiro seated in front of his Trump 2020 banner. (Courtesy: Tara Jost)

“He said, 'Anthony take the sign down right now' and I looked up, seeing class hasn't started yet,” the teen told NBC New York. “I was on my phone. I looked up at him and kind of just looked back down like I didn't hear him.”

But the teacher repeated the request and said Ribeiro would have to leave if he refused.

“I waved goodbye, and I was gone,” the teen said.

UTAH HIGH SCHOOLER SPAT ON, GLASSES BROKEN AFTER WEARING TRUMP HAT TO CLASS, VIDEO SHOWS

District officials told the outlet they were addressing the incident and that Ribeiro “was not in violation of any general code of conduct or any policy specifically related to virtual learning.”

The teen’s mother, Tara Jost, told NJ Advance Media the incident shocked her.

A similar banner attached to a railing in Scranton, Pa., last month. (Photo by Robert Nickelsberg/Getty Images)

A similar banner attached to a railing in Scranton, Pa., last month. (Photo by Robert Nickelsberg/Getty Images)

“My son takes his academics very seriously, and for this teacher to kick him out of learning that day for something that was in my home…I don’t think he should’ve been kicked out of class for that,” she said.

MICHIGAN SUPERINTENDENT RIPS ANTI-TRUMP QUIZ TEACHER GAVE TO STUDENTS AS 'MISINFORMATION'

The family told the outlet that students were given instructions on behavior during virtual classes, including no pajamas and no taking part while in bed – but not about keeping political signs away from cameras.

The news comes shortly after a Utah student was bullied and spat on for wearing a pro-Trump hat to school for in-person classes.

CLICK HERE FOR THE FOX NEWS APP

Police in that case have recommended charges against the two girls accused of swiping the hat, stomping on the victim's glasses and spitting in his face.