The relationships between literati (scholar-official of imperial China) and the geji often became heavily romanticized during the late Ming Dynasty, and even married women associated openly with geji, inviting them to parties. Famously, the poet Xu Yuan was known to keep the company of famous geji, such as Xue Susu. Following the collapse of the Ming Dynasty, the Qing Dynasty banned courtesans such as geji from performing at official functions.