the completed Theresianum. Maria Theresa visited them frequently there, however mostly unofficially. Loss of importance and destruction (1783 – 1811) The office of governor of the Kingdom of Hungary was re-abolished in 1781 by the new king Joseph II, and Albert of Sachsen-Teschen left the castle and took many parts of the equipment away. The (present-day Albertina Gallery) art collection went partly to Vienna, partly to Belgium, where Albert became a new governor. Other objects moved mostly to Vienna. In 1783, Pressburg ceased to be the seat of central authorities of the kingdom. They were moved to Buda (now Budapest). The crown jewels of the Kingdom of Hungary were moved to the Hofburg in Vienna. In 1784, the Theresianum, some other secondary buildings of the site, and the gardens were adapted, because the castle became a "general seminary", which was a type of state school for Catholic priests introduced by Joseph II. The general seminary of Pressburg Castle played an important role in Slovakia's history, because it has educated many important Slovak intellectuals, for example Anton Bernolák, the author of the first successful codification of a Slovak standard language. In 1802, the general seminary moved to another place, and the castle was assigned to the military as barracks. This was the beginning of the end of the castle. The rococo interiors of the castle were adapted in order to house some 1500 soldiers. In 1809, the Pressburg and the castle was bombarded by cannons by Napoleon's troops. On 28 May 1811, the castle burst into huge flames due to carelessness of garrison soldiers. The fire even spread into parts of the town. Castle in ruins (1811 – 1953) The destroyed castle gradually deteriorated. The military sold parts of the main castle buildings as construction materials in the surrounding areas. Between the two world wars, attempts were made to demolish the castle to build government offices and a university district on the castle hill and in its surroundings in the first Czechoslovak Republic and in the first Slovak Republic. Many parts of the site however continued to be used as barracks and adapted accordingly until 1946. In 1946, the ruin was opened to the public. Two years later, the town constructed an amphitheater in the northern part of the castle site. The amphitheater was in use for some 15 years. Films were shown there in the summer. Restoration and modern history