Complex sentence: Until August 1947, it was in a subsidiary alliance with British India and bordered the states of the Gilgit Agency to the south and west and the princely state of District Hunza to the north and east.
Split into simpler sentences: Until August 1947, it was in a subsidiary alliance with British India. It bordered the states of the Gilgit Agency to the south and west, and the princely state of District Hunza to the north and east.