 Due to the subsequent famine the Muslims had no choice but to surrender.The city capitulated on November 23, 1248.They signed Ferdinand III's requirements under which they should leave the "whole" city with its buildings and land "libre et quita."