The School of Magnaura was founded in the 9th century but did not last very long, and in the 11th new schools of philosophy and law were established at the Capitol School. The period of decline began with the Latin conquest of 1204 although the university survived as a non-secular institution under Church management until the Fall of Constantinople in 1453, and was replaced by a "madrasa" (now Istanbul University) established by Mehmet II following the conquest of the city.