Anarchists believed that the state is an instrument of violence, so it’s okay to use violence against it. Anarchists saw violence as defensive, and a means of revenge.