 It is estimated that some 10,000 people, soldiers and civilians, had died inside.French losses were around 15,000, over half of those to disease.In spite of Álvarez's poor health, the French imprisoned him at Perpignan.