SAN JOSE — An Oak Grove High School PE teacher who allegedly told a student that he might be deported once Donald Trump is president has been placed on leave and is under investigation.

The teacher, who hasn’t been publicly identified, spoke to a student who was refusing to stand as the national anthem played last week on the campus, Superintendent Chris Funk said.

The teacher asked the student to stand. When the student refused, NBC Bay Area reported, the teacher said, “Good luck with being deported now that Donald Trump is president. … You guys had it better here than you will over there.”

Other students witnessed the incident. One told NBC Bay Area, “We just stayed seated, quietly, respecting everybody, not saying any rude comments whatsoever.” The student added, “I was actually shocked and angry because I never thought I’d hear this coming from a teacher.”

A student reported the incident to school officials, Funk said, and the East Side Union High School District intervened by placing the teacher on paid leave.

Funk said that the teacher has been in the district for some time. Pending the outcome of the district’s investigation, the teacher could receive a letter of reprimand or be suspended, he said.

In the aftermath of the election, the district has posted a letter on its homepage, saying that students deserve a secure environment to process the election results, and asking teachers to remain neutral, share information, listen to both sides of any issue and create a safe space in class and school for discussion.

“No question that some of our students who are undocumented are concerned about deportation and what’s going to happen to their families,” Funk said.