What caused the loss of local governments