of newly arrived foreigners and charged extortionate rates for imported goods, and that the route to China by sea was dangerous due to piracy and frequent rain. He mentioned that the local Muslim populace of Guangzhou had their own mosque and bazaars. He mentioned that the Muslim community had its own Imam and Judge (appointed by Emperor Xuanzong of Tang). He also observed the manufacturing of porcelain, the granary system of Guangzhou, and how its municipal administration functioned. Legacy Because of the prosperity of Emperor Xuanzong's reign, it was said that in subsequent years, including after Tang's eventual fall in 907, the people missed him bitterly, referring to him as "Little Taizong." The lead editor of the Old Book of Tang, the Later Jin chancellor Liu Xu, wrote of Emperor Xuanzong in glowing terms, while lamenting that much of the records from his reign had been lost by the time of Later Jin such that he could not write more. The lead editor of the New Book of Tang, Ouyang Xiu, however, commented that Emperor Xuanzong, while having good judgment, lacked kindness or grace. During Emperor Xuanzong's reign, Chinese chemists first experimented with fireworks. Chancellors during reign Li Deyu (846) Li Rangyi (846) Li Hui (846–847) Zheng Su (846) Bai Minzhong (846–851) Lu Shang (846–847) Cui Yuanshi (847–848) Wei Cong (847–848) Ma Zhi (848–849) Zhou Chi (848–849) Cui Xuan (849–855) Wei Fu (849–850) Cui Guicong (850–851) Linghu Tao (850–859) Wei Mo (851–857) Pei Xiu (852–856) Zheng Lang (856–857) Cui Shenyou (856–858) Xiao Ye (857–859) Liu Zhuan (858) Xiahou Zi (858–859) Jiang Shen (858–859) Family Consorts and Issue: Empress Yuanzhao, of the Chao clan () Li Cui, Yizong (; 833–873), first son Princess Wanshou (), first daughter Married Zheng Hao of Xingyang (; 817–860) in 850, and had issue (one son) Princess Guangde (; d. 880), fourth daughter Married Yu Cong of Henan (; d. 881) in 858 Zhaoyi, of the Wu clan () Li Zi, Prince Tong (; 844–863), third son Jieyu, of the Zhang clan (张婕妤) Jieyu, of the Liu clan () Li Rui, Prince Zhao (), eighth son Cairen, of the Shi clan () Li Yi, Prince Qing (; 844–860), fourth son Cairen, of the Qiu clan (; 828–851) Li Wen, Prince Kang (; 851–866), ninth son Lady, of the Chen clan () Li Yong, Prince Guang (; 854–877), 11th son Unknown Li Mei, Crown Prince Jinghuai (;