Emperor Ningzong of Song (19 November 1168 – 17 September 1224), personal name Zhao Kuo, was the 13th emperor of the Song dynasty of China and the fourth emperor of the Southern Song dynasty. He reigned from 1194 until his death in 1224. He was the second son and the only surviving child of his predecessor Guangzong and like his father, Ningzong was weak-minded; easily dominated by women. During Ningzong's reign, he had built 75 commemorative shrines and steles, the most in Song history. He was a great patron of art, promoting artists such as Liang Kai and Ma Yuan to painter-in-waiting and writing poems about their paintings. Upon Ningzong's death, a minor official and a relative of Ningzong became Emperor Lizong. Reign He was noted for the cultural and intellectual achievements made during his reign. In particular, Zhu Xi wrote some of his most famous Neo-Confucianist works during this period. However, Emperor Ningzong was known for his aversion towards the spread of Neo-Confucianism in his imperial court due to the influence of his chancellor Han Tuozhou and on the political side, however, Emperor Ningzong saw his government being plagued by rising inflation that threatened the economy and the military advances by the Jurchens from the north during the wars between the Song dynasty and Jurchen-led Jin dynasty. In absence of a son, he adopted a relative named Zhao Xun in 1197 who was only 6 years old. In 1198, Neo-Confucianism was banned for two years until the ban was repelled in 1202. Song Invasion of Jin As the Jin were weakening because of natural disasters, Ningzong's chancellor Han Tuozhou continually provoked the weak Jin by launching raids. War against the Jin was officially declared on June 14, 1206, by Han Tuozhou. The war was a disaster. Despite the Jin's weakness due to the natural disasters, it had countered the attacks from the Song and even counter-attacked. To make things worse, Ningzong was not interested in the war effort and morale was low. There was not enough supplies and many of the army deserted. Wu Xi (吳曦; d. 1207), the governor-general of Sichuan, defected to the Jin in December 1206. This was bad, as Wu was holding the western front, however, Song loyalists assassinated Wu on March 29, 1207, before Jin troops could take control of the surrendered territories. Fighting continued in 1207, but by the end of that year