Complex sentence: Indeed, his first priority was to defend his realm as the threat of annual dry-season raids from the north still loomed.
Split into simpler sentences: Indeed, his first priority was to defend his realm. The threat of annual dry-season raids from the north still loomed.