 Following his marriage, Leopold initiated plans to build a castle on Leopoldsberg for his new residence, which had formerly been at Gars am Kamp and Tulln an der Donau.He named the new castle "Niwenburc".According to legend, Leopold was standing with his wife on the balcony of their new castle when Agnes' veil was carried away by a strong gust of wind.