 At this time, the Germans erected a new building next to the castle, which is now known as Fort Daun, in which the Military High School of Austria is located.After World War II and the Austrian State Treaty which was signed in 1955, the demolished castle was rebuilt.In 1958, the military academy was again located in Wiener Neustadt after a short intermezzo (1955–1958) in Enns.