 A third of the city was granted to Genoa and subsequently leased out to Otto de Bonvillano, a Genoese citizen.It was Castile's first Mediterranean seaport.In 1151, Alfonso signed the Treaty of Tudilén with Ramon Berenguer.