Because of further diseases the siege of Tunis was abandoned on 30 October by the Treaty of Tunis with the sultan. In this agreement the Christians gained free trade with Tunis, and residence for monks and priests in the city was guaranteed. After hearing of the death of Louis and the evacuation of the crusaders from Tunis, Sultan Baibars of Egypt cancelled his plan to send Egyptian troops to fight Louis in Tunis. The treaty was quite beneficial to Charles of Anjou, who received one-third of a war indemnity from the Tunisians, and was promised that Hohenstaufen refugees in the sultanate would be expelled.