Under Adaulfus (Ataulf) II, the city was destroyed by Norse pirates, and bishop and chapter took refuge behind the strong walls of Compostela. Soon they petitioned Ordoño II of León and Pope Nicholas I to permit them (c. 860) to transfer the see from Iria to Compostela, near the sepulchre and church of St James (founded c. 835). Both pope and king consented, on condition that the honour of the see should be divided between the two places. From the second half of the ninth century the bishops of this see are known as "Irienses" or "Sancti Jacobi", even "ecclesiae apostolicae sancti Jacobi"—though no apostolic succession was possible—and finally as "Compostellani" ("Catholic Encyclopedia").