From the late 16th century onward, the Abbey of St. Ulrich and St Afra was one of the 40-odd self-ruling imperial abbeys of the Holy Roman Empire and, as such, was a virtually independent state. The territory of that state was very fragmented: the abbey of St. Ulrich and St Afra proper enclaved within the Free Imperial City of Augsburg, and several small territories disseminated throughout the region. At the time of its dissolution in 1802, the Imperial Abbey covered 112 square kilometers and had about 5,000 subjects.
The Benedictine monastery was preceded by an original foundation established at an uncertain date, but at least as early as the 10th century (and in its turn quite possibly a refoundation of a still earlier one from the 5th or 6th centuries), by the Kollegiatstift St. Afra, a community of the priests charged with the care of St Afra's Church (now the Basilica of Saints Ulrich and Afra), where the relics of Saint Afra were venerated, and next door to which the community premises were built.
Between 1006 and 1012, Bruno, Bishop of Augsburg, removed the canons to the cathedral chapter and gave the premises to Benedictine monks whom he brought from Tegernsee Abbey, thus turning it into a Benedictine monastery. It was granted Imperial immediacy as an Imperial abbey in 1577, but this status was bitterly contested by the bishops of Augsburg, and the legal conflict was resolved in favour of the abbey only in 1643/44.
The abbey was dissolved in 1802 during the secularisation of Bavaria. The city of Augsburg and the state of Bavaria divided its territory between them. The monks however were permitted to remain in the premises of the dissolved monstery. In 1805 a French military hospital was installed here; after six monks, including the abbot, had died of infectious diseases, the remainder moved into a private house. The hospital was replaced in 1807 by a Bavarian cavalry barracks, known as the Ulrichskaserne.
The barracks remained here until World War II, when in 1944 the buildings were largely destroyed. The remains were not cleared until 1968–71. On the site the 'Haus St. Ulrich' has stood since 1975, an academy and pastoral centre of the Diocese of Augsburg. The sarcophaguses of Saint Afra and Saint Ulrich are preserved in the crypt.
References:The Clementinum is a historic complex of buildings in Prague. Until recently the complex hosted the National, University and Technical libraries, the City Library also being located nearby on Mariánské Náměstí. The Technical library and the Municipal library have moved to the Prague National Technical Library at Technická 6 since 2009. It is currently in use as the National Library of the Czech Republic.
Its history dates from the existence of a chapel dedicated to Saint Clement in the 11th century. A Dominican monastery was founded in the medieval period, which was transformed in 1556 to a Jesuit college. In 1622 the Jesuits transferred the library of Charles University to the Klementinum, and the college was merged with the University in 1654. The Jesuits remained until 1773, when the Klementinum was established as an observatory, library, and university by the Empress Maria Theresa of Austria.