Electorate of Bavaria
Egmating belonged to the Lord ("Freiherr") of Hornstein. It was part of the Electorate of Bavaria and was a lordly estate.