The Pharaoh was the government of his town. Also they considered Pharaoh a god. There were many dynasties. (eras when one family ruled). There were 31 dynasties 2650-332 B.C. over 2,000 years! That is a lot of families that ruled.