Question: What was promised by Buda King Casimer?
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.
Answer in sentence: no