Royal charters referred to military actions in Lodomeria and Wallachia in the first half of 1382, but no further information of those wars was preserved. Louis, whose health was quickly deteriorating, invited the representatives of the Polish prelates and lord for a meeting in Zólyom. Upon his demand, the Poles swore loyalty to his daughter, Mary, and her fiancé, Sigismund of Luxemburg, on 25 July 1382. Louis died in Nagyszombat in the night on 10 or 11 September 1382. He was buried in the Székesfehérvár Cathedral in a chapel that had been built upon his orders.