Bai Juyi was demoted to Jiangzhou as Sima. What did he create?

Before Li Bo, Bai Juyi, a great poet, was demoted to Jiangzhou as Sima, where he wrote the famous poem Pipa Xing, including a sentence "When the river is mysteriously full of moons". Later, in order to commemorate him, people called the pavilion he built on the mound of Gantang Lake "Moon Immersion Pavilion".