The storm-clouds were gathering fast over the beautiful city by the Guadalquivir. Spain’s great national hero, St Ferdinand, now wore the crown of Castile. He routed the Moors at Jerez, and in 1235 wrested from them their most ancient and glorious metropolis, Cordova. The discord and sedition which history shows are the usual prelude to the extinction of a state, were not wanting at Seville. Ben Hud died in 1238, and his subjects turned once more in their despair to the African Almohades. But no new army of Ghazis crossed the strait to do battle with the Unbeliever. Despite their protestations of allegiance to the Khalifa of Barbary, the Moors of Seville were left to fight their last fight unassisted. When the Castilian army appeared before the walls, the defence was directed, strangely enough for a Mohammedan community, by a junta of six persons. Their names are worthy of being recorded: Abu Faris, called by the Spaniards Axataf, Sakkáf, Shoayb, Ben Khaldûn, Ben Khiyar, and Abu Bekr Ben Sharih.
The siege of Ishbiliyah lasted fifteen months. Material assistance was lent to the Spaniards by Musulman auxiliaries, among them the Amirs of Jaën and Granada. The Castilian fleet under Admiral Ramon Bonifaz dispersed the Moorish ships, while the Sevillian land forces were driven to take refuge within the walls. The Admiral succeeded in breaking the chain stretched across the river, and thus cut off the garrison from their principal magazines in the suburb of Triana. Only when in the clutches of famine did the defenders ask for terms. They offered to give up the city, on the condition that they should be allowed to demolish the mosque. The Infante Alfonso replied that if a single brick were displaced, the whole population would be put to the sword. The garrison finally surrendered on the promise that all inhabitants who desired to do so should be free to leave the city with their families and property, and that those who elected to remain should pay the Castilian king the same tribute they had hitherto paid to the native ruler. The brave Abu Faris was invited to accept an honourable post under the conqueror, but he magnanimously declined and retired to Africa. Thither thousands of his countrymen followed him. Indeed, probably only a few thousand Moors remained behind in Seville.