《太平广记·卷三百四十九·鬼三十》
以后到了长安，遇见一个掌握法术的李生给他写了驱鬼符带上，于是以上的情况就消失了。
后至长安，遇术士李生辟鬼符佩之，遂绝也。
Later, when he arrived in Chang'an, he met a Li Sheng who knew magic and wrote a talisman to exorcise ghosts for him, so the above situation disappeared.
<s>[INST] Identify the key themes in this Classical Chinese text and explain them in English: 后至长安，遇术士李生辟鬼符佩之，遂绝也。 [/INST] Later, when he arrived in Chang'an, he met a Li Sheng who knew magic and wrote a talisman to exorcise ghosts for him, so the above situation disappeared.</s>
Identify the key themes in this Classical Chinese text and explain them in English: 后至长安，遇术士李生辟鬼符佩之，遂绝也。
user
Later, when he arrived in Chang'an, he met a Li Sheng who knew magic and wrote a talisman to exorcise ghosts for him, so the above situation disappeared.
assistant