The area once belonged to the County of Pitten, which had been inherited by Margrave Ottokar III of Styria in 1158. After the dynasty of the Otakars became extinct with the death of his son Ottokar IV, the Duchy of Styria passed to the Austrian House of Babenberg according to the Georgenberg Pact. Duke Leopold V of Austria established the town in 1194<1> and financed the construction of a fortress close to the Hungarian border with the ransom paid for the English king Richard the Lionheart, whom he had previously captured and held as a hostage at Dürnstein Castle. In 1241, a small Mongol squadron raided Neustadt during the Mongol invasion of Europe.
Wiener Neustadt, meaning more or less New Vienna ("Viennese Newtown"), gained important privileges given to the city in order to enable it to prosper. It remained a part of Styria, which after the 1278 Battle on the Marchfeld fell to the House of Habsburg and in 1379 became a constituent duchy of Inner Austria. In the 15th century Wiener Neustadt experienced a population boom, when Emperor Frederick III of Habsburg took up a residence here and established the Diocese of Wiener Neustadt in 1469. The Wappenwand (coat of arms wall) at the local castle displays the coats of arms of his possessions in the middle. His son Maximilian I maintained his court in Wiener Neustadt and is buried here at St. George's Cathedral. The town then also had a significant Jewish commune with Rabbi Israel Isserlin as its most notable member, until all Jews were expelled by order of Emperor Maximilian I in 1496.
Habsburg's long-time rival King Matthias Corvinus of Hungary conquered the city in August of 1487 after having laid siege to it for two years. According to legend he dedicated the magnificent Corvinus Cup to the inhabitants after his victory. Maximilian I managed to reconquer his native city in 1490. During the 16th century, Wiener Neustadt lost its status as imperial residence and much of its importance. However, it still fulfilled its function as bulwark against the Turks and the Kuruc. In 1751 it received greater attention when Empress Maria Theresa of Austria decided to dedicate the First Military Academy worldwide inside the imperial castle. In 1752, the Theresian Military Academy took up its operations, which have continued to this day with only a few interruptions (Erwin Rommel was appointed commandant after the Austrian Anschluss in 1938). In 1768, Wiener Neustadt was destroyed by an earthquake and damaged the castle, which was rebuilt using plans made by the architect Nicolò Pacassi.<2> In 1785, Emperor Joseph II of Habsburg transferred the see of the Wiener Neustadt diocese to Sankt Pölten.
http://en.wikipedia.org/wiki/Wiener_NeustadtI remember visiting an old castle with medieval weapons, rows and rows of armor of all kinds. I think that was in Wiener Neustadt.