Who was at the top of the social hierarchy?