In 1355 in Buda King Casimir III 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. He decreed that the nobility would no longer be subject to 'extraordinary' taxes, or use their own funds for military expeditions abroad. He also promised that during travels of the royal court, the king and the court would pay for all expenses, instead of using facilities of local nobility.

When did buda king casimir issue the heir to his nephew?