A Massachusetts high school student captioned his senior photo in the school’s yearbook with a quote generally attributed to the Nazi leaders Joseph Goebbels and Adolf Hitler, the school’s principal said in an apologetic letter to parents this week.

Hundreds of copies of the yearbook had been printed and distributed to students at Andover High School in Massachusetts before the school became aware of the problem and stopped selling the yearbook. The school is now offering to replace the page or cover the quote up with a sticker.

“We are appalled and angered that this quote was submitted, and I ask you to please accept my deepest apologies on behalf of our faculty, staff, and administration for the insertion of these words in the yearbook,” the principal, Philip Conrad, wrote in the letter. “Quoting a racist dictator bent on genocide or his minister of propaganda has no place in our school or our community and it is deeply upsetting to all of us.”

The quote, which reads “Make the lie big, keep it simple, keep saying it and eventually they will believe it,” is widely associated with Hitler and Goebbels’s use of propaganda to build the Nazi empire. The quote is not attributed in the yearbook, and appears in black text underneath the photo of the student, who has not been identified.