Police officers were attacked with a sledgehammer while activists also wielded axes, whips and other weapons