During World War II the German occupants established two anti aircraft batteries in the fortress.
The context of this sentence is a fortress under German control during World War II. The presence of anti-aircraft batteries suggests a defensive strategy against aerial attacks.