Task: Question Answering
Input (English): Passage: Other scholar-bureaucrats were wary of Wang's heterodoxy, the increasing number of his disciples while he was still in office, and his overall socially rebellious message. To curb his influence, he was often sent out to deal with military affairs and rebellions far away from the capital. Yet his ideas penetrated mainstream Chinese thought and spurred new interest in Taoism and Buddhism. Furthermore, people began to question the validity of the social hierarchy and the idea that the scholar should be above the farmer. Wang Yangming's disciple and salt-mine worker Wang Gen gave lectures to commoners about pursuing education to improve their lives, while his follower He Xinyin (何心隱) challenged the elevation and emphasis of the family in Chinese society. His contemporary Li Zhi even taught that women were the intellectual equals of men and should be given a better education; both Li and He eventually died in prison, jailed on charges of spreading "dangerous ideas". Yet these "dangerous ideas" of educating women had long been embraced by some mothers and by courtesans who were as literate and skillful in calligraphy, painting, and poetry as their male guests.The liberal views of Wang Yangming were opposed by the Censorate and by the Donglin Academy, re-established in 1604. These conservatives wanted a revival of orthodox Confucian ethics. Conservatives such as Gu Xiancheng (1550–1612) argued against Wang's idea of innate moral knowledge, stating that this was simply a legitimization for unscrupulous behavior such as greedy pursuits and personal gain. These two strands of Confucian thought, hardened by Chinese scholars' notions of obligation towards their mentors, developed into pervasive factionalism among the ministers of state, who used any opportunity to impeach members of the other faction from court. 
Question: What were the full names of the two people who died in prison?
Output (English): Li Zhi.