Biography
Liang Kejia came from Quanzhou and spent part of his early career teaching before the examination opened a path to office. His success in 1160 gave him unusual authority, but he did not treat the examination as the end of learning. Memorials, policy discussions, and local records remained central to his work. The central issue of his political career was the balance between recovering the north and preserving the resources of the Southern Song. He opposed an ill-prepared offensive and argued that military ambition had to be matched by finance, supply, and stable administration. This placed him at odds with the more aggressive line represented by Yu Yunwen, although the relationship was political rather than a simple division between courage and cowardice. As a senior minister Liang handled personnel, ritual, and military affairs. When he governed Fuzhou, he participated in the compilation of the *Gazetteer of the Three Mountains*, one of the earliest substantial gazetteers of the region. His *Institutional Essentials of the Restoration* and other writings connected local knowledge with the concerns of the central state. Later accounts praised his learning and called him Wenjing after his death.
Liang Kejia, courtesy name Shuzi with the posthumous name Wenjing, was a native of Jinjiang in Quanzhou, born in 1127. The *History of Song* calls him quick beyond his fellows in childhood and able to recite a book after one reading. Local historians differ on his ancestral place, some naming Jinjiang and others Nan'an. He stood first in the palace examination of 1160, becoming the top graduate, and afterward served as a proofreader and then a senior compiler, known at court for speaking his mind.
In the Qiandao years he rose to assistant administrator and then right vice director of the Secretariat, governing with Yu Yunwen and others and taking part in the domestic and Jin affairs of the early Southern Song. He favored handling relations with the Jin steadily and opposed rash war, an attitude tied to the debates of the time. He afterward held provincial posts at Fuzhou and Jiankang, and at Fuzhou directed the compilation of the *Record of Mount San*, one of the earliest surviving gazetteers of that city and of value for the history and geography of Fujian.
He retired as academician of the Hall of Observing Culture and died in 1187 at sixty-one with the posthumous name Wenjing. His career exemplifies the Southern Song scholar-official's passage between the chancellorship and provincial office, and his work on the gazetteer was valued by later ages.
His service at court and in the provinces makes a complete sample of a Southern Song scholar-official's career.