Succession to the throne was determined by what clan?