What replaced the local governments created by the colonists?