they performed political social and religious functions