At this time the Pisans were in great fear of Gaddo della Gherardesca, whom they had driven out of Pisa, and they had recourse for assistance to Frederick. Frederick created Castruccio the lord of Pisa, and the Pisans, in dread of the Guelph party, and particularly of the Florentines, were constrained to accept him as their lord.