If you’re breaking into a building to smash up property as a political protest, that’s criminal damage. If the cops show up, you either surrender (in order to make your political point in a trial) or you run away. Attack them with sledgehammers, hi, you’re a terrorist.