abu hasan's position was now a difficult one, not only because the troops besieging tarifa depended on supplies from morocco, but also the kingdom of granada needed them, their forces having launched a series of limited attacks all along the frontier to hold the castilians at bay. on 10 october, a severe storm wrecked 12 castilian galleys, and the same day the sultan launched an all-out assault against tarifa, which was barely repulsed with heavy losses on both sides.