The city remained important throughout the middle Byzantine period (7th–12th centuries). Following the rebellion of Nikephoros Melissenos, his Turkish allies captured the city in 1081, and it became the first capital of the Seljuk Turkish Sultanate of Rum until its recapture by the First Crusade in 1097. After the capture of Constantinople and the establishment of the Latin Empire by the Fourth Crusade (1204), the city became the capital of the Empire of Nicaea, and the seat of the Patriarchate of Constantinople in exile until the recapture of Constantinople in 1261. Among the 46 bishops recorded by Le Quien ("Oriens Christianus", Vol. I, 639–56), the most notable are: Theognis, the first known bishop, excommunicated in 325; Anastasius in the 6th century; Peter, Theophanes the Branded, Ignatios the Deacon and Gregory Asbestas in the 9th century; Eustratius in the early 12th century; and Basilios Bessarion in the 15th century.