every maid but Shen had not even touched one winning Gaozong's favor over Qu. In 24 July 1162, Emperor Gaozong abdicated in favor of Emperor Xiaozong who became emperor although Emperor Gaozong retained power as Taishang Huang. Reign During the reign of Emperor Xiaozong, the Chinese increased the number of trade missions that would dock at ports throughout the Indian Ocean, where Arab and Hindu influence was once predominant. Xiaozong also was responsible for Yue Fei's posthumous rehabilitation, clearing out the remnants of Qin Hui's faction in court, and stabilizing the economy making his reign the most powerful era of the Southern Song Dynasty and it's said he was the best ruler of the Southern Song dynasty. Archery and equestrianism were required for non-military officials at the Military College in 1162 during Emperor Xiaozong's reign. In 1165, he reached peace with the Jin Dynasty. In 1187, the retired Emperor Gaozong died. Xiaozong was stricken with grief and retreated from governing, insisting on mourning Gaozong and stating that he would only rule for two more years. Xiaozong turned all government affairs to his son Zhao Dun. In 1189, Emperor Xiaozong abdicated in favour of his son, Zhao Dun who took the throne as Emperor Guangzong. He then granted himself the title Taishang Huang and remained as the de facto ruler. As Retired Emperor His daughter-in-law Empress Li reportedly attempted to keep Emperor Guangzong and his father (Xiaozong) separate, and often stopped the emperor from seeing his father. On one occasion, at the sickbed of the emperor, her father-in-law threatened to have her executed for not taking proper care of the monarch. Retired Emperor Xiaozong fell ill in 1194 and was made worse when Emperor Guangzong refused to visit him. Xiaozong soon died. Emperor Guangzong refused to attend his funeral and as a result, was forced to give his throne to the deceased retired emperor's grandson Emperor Ningzong. Family Consorts and Issue: Empress Chengmu, of the Guo clan (; 1126–1156) Zhao Qi, Crown Prince Zhuangwen (; 1144–1167), first son Zhao Kai, Prince Weihuixian (; 1146–1180), second son Zhao Dun, Guangzong (; 1147–1200), third son Zhao Ke, Prince Shaodaosu (), fourth son Empress Chenggong, of the Xia clan (; d. 1167) Unnamed daughter Unnamed son Empress Chengsu, of the Xie clan (; 1132–1203), personal name Sufang () Noble Consort, of the Cai clan (贵妃 蔡氏) Worthy Consort, of the Li clan (贤妃 李氏)