Complex sentence: For a territory as large as the Roman Empire, there were amazingly few soldiers, almost all of the legions were based close to the frontiers.
Split into simpler sentences: For a territory as large as the Roman Empire, there were amazingly few soldiers. Almost all of the legions were based close to the frontiers.