BOSTON — A few dozen right-wing activists rallied peacefully Saturday on Boston Common, but just like last summer’s event, they were outnumbered by counterprotesters.

The “Rally for the Republic” event was held by conservative groups Resist Marxism and Boston Free Speech despite being denied a permit by the city. Police surrounded the gathering.

Rally speakers gathered at a bandstand on the Common warned that free speech was under threat and accused Antifa and Black Lives Matter groups of being terrorist organizations. White hats with the phrase “RESIST MARXISM” were thrown into the crowd, many of whom wore pro-Trump apparel and criticized the media and left-leaning groups for labeling them as hateful.

“I’m here because I support the ideas of free speech and the republic,” said rally attendee Alex Moffett, 23, of Burlington, Massachusetts. “There are many people on the other side who believe their ideas are right and are perpetuating violence in the name of those rights.”

Moffett identifies as a Republican.