On 22 April 1238, James I arrived at the village Grau de Valencia to start the siege of the city, and established his command post at
Russafa. Numerous knights from Aragon, Catalonia, Provence, and also Germany, Hungary, Italy, England, etc. joined the siege, after calls by the King and the
Crusade bull granted by
Pope Gregory IX in February 1237. In the middle of 1238 the then
Archbishop of Tarragona, Pere d'Albalat, assisted James I by offering his personal services in the crusade against the city of Balasinya, in addition to contributing 5,000 marks of silver to the cause, as well as a considerable contingent of knights. His brother Benet d'Albalat, noble and knight, was officially named the commander of the troops. Zayyan ibn Mardanish, seeing himself surrounded by Christian troops, asked the other Muslim sovereigns for help, but only
Abu Zakariya Yahya, King of Tunis, to whom
Ibn al-Abbar had been sent, reacted and sent a fleet of twelve ships to Balânsia. On 17 August 1237, the fleet arrived in Balànsia, but they did dare to disembark, because the wall was already attacked and shelled by the Aragonese. Since food was scarce in the city, Zayyan, having lost all hope of relief, began negotiations for surrendering the city to James I. Balànsia, which had resisted the Cid for two years in 1092–1094, now only endured the attack by James I for five months, but he was provided with better siege weapons. with the decisive intervention of
Violant of Hungary, wife of James I, in setting up the conditions for the surrender. Zayyan and the Muslims who wanted to leave could do so south of the
Júcar river and the Moors who wanted to stay could do so safely, but under Christian rule. To make the capitulation public, on 28 September 1238, the Valencian Moors hoisted a Royal flag of Aragon and Catalonia, later called the
Pennon of the Conquest, on the tower of Alí Bufat. On Saturday 9 October 1238, James I officially took possession and entered the city. Today, 9 October is still celebrated as the
Dia de la Comunitat Valenciana, the official holiday of the
Valencian Community. == Consequences ==