During the Wanli period of the Ming Dynasty (1573- 16 19), Shi Kefa traveled from Henan to Daxing to take the exam. Because of his poor family, he once stayed in an ancient temple. Later, I won the first place in an exam. Examiner Zuo Guangdou got a surprise student, and Shi Kefa found a noble and knowledgeable teacher, and they established a very close relationship. In A.D. 1625, Zuo Guangdou was arrested and died in prison. Shi Kefa turned the mourning for the teacher into a practical action to save the country.
In the first year of Chongzhen (1628), Shi Kefa won the Jinshi and was promoted in Xi 'an. Soon after, he transferred to the Ministry of Housing as a foreign minister and a doctor. In the eighth year of Chongzhen in Ming Dynasty (1635), he moved to the right and was divided into Chizhou (now Guichi, Anhui Province) and Taiping (now Dangtu, Anhui Province). In the autumn of the same year, General Lu Xiangsheng suppressed the peasant rebels on a large scale, changed Shi Kefa to be an agreement, toured Anqing and Chizhou, and supervised the armies in the north of the Yangtze River. When he led the army to guard Lu 'an, he wrote to the emperor to exempt the local people from land rent, and also ordered that the people here should be exempted from raising 26 horses for the government every year, and the government should hire people to raise horses instead.
The insurgents attacked Anqing, and Shi Kefa pursued Tiantangzhai in Qianshan County. In December of the 9th year of Chongzhen in Ming Dynasty (1636), in order to prevent Luo Rucai and Li Wanqing from advancing eastward, Shi Kefa led troops to Taihu County and seized its crossroads. The following year, the insurgents attacked Shipai (now Huaining, Anhui Province) from the underpass, and Shi Kefa and the soldier Pan Li attacked, then fought with the insurgents between Lujiang, Buried Hill and Tongcheng. It was July 2008.
Later, he was transferred to the assistant minister of the Ministry of Finance and the right adviser of Jindu, and succeeded Governor Zhu Dadian. In the sixteenth year of Chongzhen in Ming Dynasty (1643), he was promoted to Shangshu and Counsellor of Nanjing Ministry of War for his repeated participation in suppressing the rebels in the late Ming Dynasty.
In April (1644) of the seventeenth year of Yongzheng in Ming Dynasty, Li Zicheng.