A high school teacher in Baltimore County, Maryland, compared President Donald Trump to Nazism and communism in a slideshow. Parents of students are furious about a slide that was displayed during class last week.

A history teacher at Loch Raven High School left a slide up that featured a photo of President Trump, a swastika, and a hammer and sickle. Above Trump’s photo, the text reads, “Wants to round up a group of people and build a giant wall,” followed by “been there” and “done that” below photos of a swastika and hammer and sickle. The caption beside the images reads, “Oh, that’s why it sounds so familiar!”

Baltimore County Public Schools said in a statement to Fox News 5, “This slide was used as part of a lesson in an AP History course. The topics being discussed included World Wars and the attempts by some leaders to limit or prevent migration into certain countries. In isolation and out of context with the lesson, the image could be misunderstood. In our Advanced Placement (AP) classes, which are college-level courses, we expect and encourage analysis and discussion around historical and current events even if they are considered controversial. This lesson was not intended to make a political statement. If a student has concerns when discussing a controversial issue, schools have the tools to address the concern and support the student.”

One parent told Fox45, “The biggest problem is pushing an agenda on 16 year olds. My understanding is that it was just put up, and it was left there for everyone to see the whole day.”

And another parent’s child stated, “I was told that by another student who said the topic in that class was supposedly world leaders shunning other groups out.” The parent asked, “Is this part of the curriculum?”

Wade Kach, Baitimore County councilman, told Fox News 5 it was “outrageous” to even suggest the president is a Nazi or a communist. Kach thought it was “irresponsible” to display it and wondered if this was AP curriculum or purchased curriculum.

Dr. Richard Vatz, a professsor of Townson University who teaches political persuasion, stated high school teachers and staff are “not supposed to take advocacy positions against presidents.”

“They’re supposed to explain how political advocacy works, if that’s what they’re doing. They’re certainly not to take a position that the president is comparable to these awful leaders of the past,” said Dr. Vatz. He said “if the context is acceptable” then the image is appropriate for an AP college-level course.

“If they’re not presenting that as clear, outrageous argument against the president of the United States, then they’re not doing their job, “ said Dr. Katz. “It’s really contemptible. But I want to say it’s conceivable the teachers are doing a better job than has been communicated to you.”

Watch: