Sentence 1:The army reached Tunis , whose walls Ali had restored and strengthened with a ditch in the meantime . Sentence 2:However , this did not prevent the Algerians from storming the city on 31 August 1756 .