Yang Wanli's poetry contains a substantial body of works composed during his sojourns in the capital,distinguished by their rich content and vivid emotional experiences.His status as a guest in the imperial city reflects his fundamental mindset while residing in the capital,shaping his perception of the relationship between himself and the imperial center and influencing the tone of his writings about Lin'an.Yang Wanli's depictions of his official service at court reveal two main tendencies:first,his observations of court life often carry a sense of detachment,leading him to adopt a calm and understated tone in his records;second,his writings about his daily life in office focus on the balance between the demands of official duties and his pursuit of personal serenity,emphasizing the processes and states of self-adjustment.Beyond his official responsibilities,Yang Wanli valued social interactions and excursions,presenting himself as a"poet"and striving to find a haven for his poetic spirit both within and beyond the capital.In summary,his active exploration of a way to achieve peace and belonging within the imperial city constitutes an implicit thread throughout his experiences and poetic works.Yang Wanli's writings during his time in the capital typify the fundamental mindset of Southern Song scholars serving in the imperial city.They represent a distinctive trend in the capital-focused writings of Southern Song poets,reflecting the multifaceted messages of changing times and social transformations.