 The grateful people made the two Counts of Lenzburg and gave them permission to build a castle on the hilltop.A charter dated 1036 names one Ulrich, Count of Aargau.He was the Emperor's Vogt in Zürich and overseer of the abbeys of Beromünster and Schänis.