In 1600 during Long War, the Ottoman army occupied Kanije (modern Nagykanizsa in southwest Hungary). Tiryaki Hasan Pasha was appointed governor of the fort, with a contingent of 7,000. But the next year, Ferdinand II tried to regain the fort, with an army of 50,000. The siege began on 9 September 1601. During the siege and frequent clashes, the Austrians lost 18,000 men. In October, Ferdinand had to end the skirmish temporarily because of the coming winter. He constructed winter emplacements around the fort and continued the siege. As a last resort, on 18 November 1601, Hasan Pasha organized a surprise charge. The charge was successful; the Austrian army was driven back and 47 Austrian cannon were acquired. For the next 89 years Kanije was an Ottoman fort.