The concluding couplet (lines 7-8) alludes to stories of the Kingdom of Shu during the Three Kingdoms period. Chengdu, where Du Fu is climbing the tower and writing this poem, is a place of many important historical events, and there were many reminders of history. One of those was the shrine for Liu Bei, the First Ruler. There was another shrine to the west of it for Zhuge Liang, Liu Bei's chief minister, and one for Liu Chan, the Second Ruler, to the east. Du Fu sighes, at least on the surface, over the fact that there is a shrine for Liu Chan, who lost his kingdom because of his reliance on Huang Hao. The unspoken part of this exclamation is the analogy between Liu Chan's lack of wisdom and that of Emperor Daizong of the Tang dynasty, who caused himself a serious trouble by trusting eunuchs such as Cheng Yuanzhen and Yu Zhao'en. Zhuge Liang is known to have been fond of singing "song of Liangfu." It is originally a song for funeral and remembrance, which also fits the poetic situation.