As far back as Mesopotamia and ancient Egypt, kings, believed to be divinely appointed, ruled society. Ancient monarchies and dynasties often bequeathed the crown patrilineally, or through male heirs.