Complex sentence: The border posts demarcated the kingdom boundaries and controlled trade between the kingdoms, which competed with each other for dominance and territory by means of war and diplomacy.
Split into simpler sentences: The border posts demarcated the kingdom boundaries and controlled trade between the kingdoms. The two kingdoms competed with each other for dominance and territory by means of war and diplomacy.