Andrew III, the last male member of the Árpád dynasty, died in Buda, plunging Hungary into decades of succession crisis and foreign claimants.