This poem was composed during Huang Tingjian's period of political exile. While the exact year is difficult to confirm, it is estimated to have been written after the Shaosheng era (1094-1098). Huang Tingjian's official career was fraught with hardship, especially in his later years. In 1094, the first year of the Shaosheng era, he was accused of "slandering the late emperor" due to his work on the Veritable Records of Emperor Shenzong. As a result, he was demoted to the post of Assistant Prefect of Fuzhou and sent to reside in Qianzhou. In 1098, he was further relocated to Rongzhou. During his years in exile, the poet was far from his homeland, cut off from correspondence with friends, his heart accumulating endless longing and solitude.