The state bordered the Gilgit Agency to the south , the former princely state of Nagar to the east , Chinese Turkistan to the north and Afghanistan to the northwest . The state bordered the Gilgit Agency to the south , the former princely state of Nagar to the east , China , to the north and Afghanistan to the northwest .