The arrival of the Black Death forced Louis to leave Italy in May. He made Ulrich Wolfhardt governor of Naples, but his mercenaries did not hinder Joanna I and her husband from returning in September. Louis, who had signed a truce for eight years with Venice on 5 August, sent new troops to Naples under the command of Stephen Lackfi, Voivode of Transylvania, in late 1349. Lackfi reoccupied Capua, Aversa and other forts that had been lost to Joanna I, but a mutiny among his German mercenaries forced him to return to Hungary. The Black Death had meanwhile reached Hungary. The first wave of the epidemic ended in June, but it returned in September, killing Louis's first wife, Margaret. Louis also fell ill, but survived the plague. Although the Black Death was less devastating in the sparsely populated Hungary than in other parts of Europe, there were regions that became depopulated in 1349, and the demand for work force increased in the subsequent years.