The matchmaker first appeared in the Tang Dynasty literary work "Song of Everlasting Sorrow." In the novel, the matchmaker was a smart, beautiful, witty, and resourceful woman. She contributed a lot to the love story between Emperor Xuanzong of the Tang Dynasty and Yang Guifei.