In the US, the state government has absolute power over the municipal and county governments in its borders, which is a very simple legal structure. For example, the NY state legislature can override any law made by the NY city government and can even replace the NY city government with whatever entity it wishes.