DETROIT (AP) – Detroit police officers prevented violence by a neo-Nazi group that wanted to spark “Charlottesville No. 2” during a gay pride festival over the weekend, the city’s police chief said Monday.

DETROIT, MI – JUNE 09: Kevin Wainczak, 22, of Plymouth, Michigan, waits to march alongside other participants during the Motor City Pride Parade on June 9, 2019 in Detroit, Michigan. (Photo by Brittany Greeson/Getty Images)

Chief James Craig said five people among about 15 white supremacists were openly carrying firearms — which is allowed under Michigan law — while they traded barbs with 15-20 counterprotesters during the Motor City Pride festival in downtown Detroit.

READ MORE: The University of Michigan Research Found Vaping Marijuana Associated with More Lung Damage

Officers worked to keep the two groups separate after getting word that the neo-Nazi group wanted to spark violence similar to the deadly 2017 white nationalist rally in Charlottesville, Virginia, Craig said.

“It was their intent, at least through our intelligence sources, that they wanted Charlottesville No. 2,” he said.

Members of both groups shouted racial epithets at each other and toward police officers in an attempt to bait them into a violent response but officers took no sides, Craig said. No shots were fired during the confrontation.

READ MORE: Detroit Bus Drivers Receives First Raise In Three Years

“This could’ve been a bad situation had it erupted into violence, it did not,” Craig said.

DETROIT, MI – JUNE 09: Locals and onlookers shout and wave rainbow flags during the Motor City Pride Parade on June 9, 2019 in Detroit, Michigan. (Photo by Brittany Greeson/Getty Images)

Motor City Pride chairman Dave Wait said he was pleased with the police response and that the neo-Nazis “failed at everything they tried to do.”

“It’s too bad that 10-12 people, mostly from out of town, who talk with hate came to an event to try to damper what 50,000 others are looking for: A quality time, and a true positive celebration,” Wait said.

MORE NEWS: Michigan Senator, Gary Peters, Expects $1.9T Coronavirus Package Approved By The Weekend

© 2019 Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.