Overview
Zhang Liang (; (died April 17, 646) was a Chinese general and official who served as a chancellor late in the reign of Emperor Taizong in the Tang dynasty. He was eventually accused of using witchcraft – a major taboo in imperial China – and executed in 646.
Background and service under Li Mi
It is not known when Zhang Liang was born. He was from Zheng Prefecture (roughly modern Zhengzhou, Henan), and it was said that his family was not of a noble lineage. Early in his life, Zhang was a farmer, but was said to have great expectations. He was also said to be appearing to be honest and meek outwardly, but instead was treacherous inside. At the end of the Sui dynasty, the rebel ruler Li Mi conquered Zhang's home region, and Zhang followed him. Initially, he was not regarded highly by Li Mi, but after he revealed a treasonous plot to Li Mi, Li Mi believed him to be faithful, and so made him a general and had him serve under the general Xu Shiji.
In 618, Li Mi was defeated by the Sui general Wang Shichong, and he fled to Tang territory and surrendered to the Tang Empire. The parts of the territory formerly under Li Mi's control was still under Xu's control, and Xu, because Li Mi had already submitted to Tang, decided to submit to Tang as well — a decision that Zhang supported.
During Emperor Gaozu's reign
After the submission of Xu Shiji (who later would be bestowed the imperial clan name of Li and be known as Li Shiji) to Tang, Zhang Liang was made the governor of Zheng Prefecture. However, around the same time, Wang Shichong captured Zheng Prefecture, and Zhang had nowhere to go, and instead took up guerilla warfare in the region. Later, based on recommendations by Li Shiji and Fang Xuanling, the Tang prince Li Shimin (the second son of Emperor Gaozu) invited Zhang to serve on his staff, and Zhang eventually became a trusted advisor.
From Wikipedia (CC BY-SA 4.0).