The Ordensburgen were originally constructed by the Livonian Brothers of the Sword and later the Teutonic Knights to fortify territory in Prussia and Livonia against the pagan aboriginals. Later, Ordensburgen were used to defend against Poland and Lithuania. The Ordensburgen often resembled cloisters. While they were considerably larger than those in the Holy Roman Empire, they were much scarcer in the Monastic state of the Teutonic Knights. While a normal castle in the Reich would control about 38km², a castle would control 370km² in Prussia and 789km² in Livonia, Courland and Estonia. The few small castles are considered to be of vassals, while the larger ones might have served as arsenals and strongholds against rebels and invaders.