Complex sentence: During World War I, the Austro-Hungarian army established a military garrison on Glavica consisted mostly of Hungarian troops.
Split into simpler sentences: During World War I, the Austro-Hungarian army established a military garrison on Glavica. The fort's garrison consisted mostly of Hungarian troops.