 In the partially elective system of tanistry, the heir or "tanist" was elected from the qualified males of the royal family.Different monarchies use different rules to determine the line of succession.Hereditary monarchies have used a variety of methods and algorithms to derive the order of succession among possible candidates related by blood or marriage.