numerous cities and fortresses changed parties