qnli question: When did buda king casimir issue the heir to his nephew? sentence: the Great issued the first country-wide privilege for the nobility, in exchange for their agreement that in the lack of Casimir's male heirs, the throne would pass to his nephew, Louis I of Hungary.