tools and astrology was imported from tang and the western xia; the dharma and the art of writing came from india; treasures from the nepalis and the mongols; laws from the uyghurs of the turkic khaganate to the north.