Twitter is apologizing for the fact that "Kill all Jews" appeared as a trending topic on its platform Friday.

In a statement, a representative from Twitter said the phrase should not have appeared on the trending topic list and that "we’re sorry for this mistake."

ADVERTISEMENT

"This was trending as a result of coverage and horrified reactions to the vandalism against a synagogue in New York," it said. "Regardless, it should not have appeared as a trend."

"At times, we do prevent certain content from trending and we have now done so with this trend."

BuzzFeed first reported on Twitter's statement.

The phrase began trending after it was discovered written inside of a New York City synagogue Thursday.

The New York Police Department said that and other anti-Semitic messages were discovered in the stairwell of the Union Temple in Brooklyn Heights.

"Broad City" star Ilana Glazer canceled a political event scheduled there Thursday night after the vandalism was found.

An attendee posted on Facebook that Glazer said the synagogue had been "vandalized with anti-Semitic slurs and other hateful words two hours before the talks were to begin."

“As such, she didn’t feel comfortable ushering 200 people into the enclosed space," the attendee, Kathryn Gonzalez, wrote.

The incident was heavily covered by media considering the proximity to last Friday's shooting at Pittsburgh synagogue and Glazer's star power, causing the phrase to be listed as a trending topic.

Twitter removed the phrase as a trending topic, although it was up for at least 10 minutes for some users, according to BuzzFeed.