Most of it sounds pretty good. Maybe reword it like this if you're wanting to switch it up. Like I said, it sounds pretty good as you have it though.
Religion shaped the structure and social caste of the four River Valley Civilizations because the Mesopotamian and Indus River Valley priests held vast amounts of authority and were considered to be head officials of the civilizations' primitive forms of Democracy.