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:Rosenborg Palace was built in the period 1606-34 as Christian IV’s summerhouse just outside the ramparts of Copenhagen. Christian IV was very fond of the palace and often stayed at the castle when he resided in Copenhagen, and it was here that he died in 1648. After his death, the palace passed to his son King Frederik III, who together with his queen, Sophie Amalie, carried out several types of modernisation.
The last king who used the place as a residence was Frederik IV, and around 1720, Rosenborg was abandoned in favor of Frederiksborg Palace.Through the 1700s, considerable art treasures were collected at Rosenborg Castle, among other things items from the estates of deceased royalty and from Christiansborg after the fire there in 1794.
Soon the idea of a museum arose, and that was realised in 1833, which is The Royal Danish Collection’s official year of establishment.