The imperial courts of the emperor's palace were filled with his entourage of court painters, calligraphers, poets, and storytellers. Emperor Huizong was the eighth emperor of the Song dynasty and he was a renowned artist as well as a patron of the art and the catalogue of his collection listed over 6,000 known paintings. A prime example of a highly venerated court painter was Zhang Zeduan (1085–1145) who painted an enormous panoramic painting, "Along the River During the Qingming Festival". Emperor Gaozong of Song initiated a massive art project during his reign, known as the "Eighteen Songs of a Nomad Flute" from the life story of Cai Wenji (b. 177). This art project was a diplomatic gesture to the Jin dynasty while he negotiated for the release of his mother from Jurchen captivity in the north.