Becoming a rebel
Some years earlier, in 1622, Xu Hongru, the leader of the White Lotus Societies had conspired with Yu Hongzhi, a peasant rebel leader from Jingzhou (now Jingxian County, Hebei Province) and a rebel named Zhang Shipei from Caozhou (now Caoxian County, Shandong Province) to launch an uprising on the Mid-Autumn Festival. Their plan had been leaked, so it was launched instead in May. Xu Hongru revolted three months early out of fear of a preemptive action by the government. He declared himself Zhongxing Fuliedi (literally, lucky, devoted lord of the restoration). In November of the same year, Xu Hongru was betrayed by his subordinates, arrested in Zou County, and taken to the capital, where he was executed. When Li Zicheng rose up to rebel in Mizhi, the so-called dongling fumang group which joined him refers to Xu Hongru's followers and their remnants. Gu Yingta testified to a direct line of succession from Xu Hongru to Li Zicheng's uprising. When Li Zicheng marched into Henan, the White Lotus Sect members organised by Xu Hongru are said to have made up his rebel forces.
When Li Zicheng openly rebelled, the White Lotus Society had long predicted that a figure with the surname "Li" would one day become the emperor. Li Zicheng tried to use faith to solidify his own legitimacy by consulting a soothsayer. However, the soothsayer denied Li Zicheng as the prophecied "Emperor Li", and foretold his imminent demise, after which Li had the soothsayer executed.
Li Zicheng and his cousin Li Guo joined a larger group of outlaws. When that group submitted to the Ming government, they left to join another. One night on an unspecified date, Li and his supporters attacked a town, won the allegiance of thousands of famished residents, and led them to plunder the region. Within ten days they joined together with other brigands, giving the title of Dashing General to Li and forming a fully functioning outlaw group, with their first real weapons. During his time as fugitive, Li Zicheng murdered his own wife after she committed adultery.
In 1631, after the rebel main force was defeated by Ming troops, the Li brothers formed their own group, which they dubbed the "Eighth Brigade".
Two years later, Li Zicheng appeared among the forces under the leadership of Gao Yingxiang, nicknamed The Dashing Prince, in northern Henan. Some sources credit him with taking Xiuwu County in Huaiqing prefecture, and killing its magistrate. Li Zicheng's own group further swelled after he absorbed another rebel group with 20,000 followers after their leader died, raising his own forces to the 30,000s. However, as his group grew in number, Li Zicheng became more suspicious of his men's loyalty. He accused one of them, Gao Jie, of being involved in an affair with his wife. This drove Gao and his followers to surrender to the Ming. Later, Li joined a rebel army led by Gao Yingxiang (高迎祥), nicknamed "the Dashing King." He inherited Gao's nickname and command of the rebel army after Gao's death. In late 1633 Li Zicheng followed Gao Yingxiang to the south across the Yellow River, but in the next year he went back to Shaanxi until 1635.
In 1635, Li Zicheng arrived in Lin County together with fellow rebels Gao Yingxiang, Zhang Xianzhong, Cao Cao, and others, where they defeated Deng Bi's army, which had led Sichuan troops and Shizhu Tusi troops to the northern Henan battlefield. In response to this, Ming general Cao Wenzhao led 3,000 men from Ningzhou and encountered the peasant army at Qiutou Town in Zhenning (present-day Zhengning County, Gansu Province). His brother, Cao Bianjao, led the assault, scaled the city walls and killed 500 enemies. Cao Wenzhao continued his advance pursuing the enemy for 30 miles, with Cao Wenzhao following behind with his infantry. As he led his famous Guan Ning cavalry pursuing the retreating rebels, suddenly, as they reached Qiutou town in Zhenning (present day Zhenning Buyei and Miao Autonomous County), tens of thousands of rebel cavalry led by Li Zicheng ambushed and surrounded them. Cao Wenzhao was killed in this battle.
In 1636, Ming's grand preceptor Hong Chengchou pushed away Li and his forces from Shaanxi to Henan. After the death of Gao Yingxiang, Li went on defensive, moved back and forth across the east and south Shaanxi mountainous borders fighting against Ming general Sun Chuanting soldiers.
In early 1638, Ming general Hong Chengchou was able to surprise Li Zicheng on the Shaanxi-Sichuan border and dealt him a heavy defeat. Betting on the poor quality of his Sichuanese contingent, Chengchou put them in the center of his line. As expected, they withdrew under the rebel attack, and pulled Li's troops down the center, at which point Chengchou's crack Shaanxi troops in reserve attacked the now-exposed rebels and caused the collapse of Li's army. In the summer of 1638, Hong renewed the pressure on Li, and hotly pursued him. Guessing that he was trying to flee through Tong Pass, Hong contacted Sun Chuanting, who established a three-pronged ambush. Li's army was trapped and destroyed, and he escaped with just 17 followers, remaining mostly inactive and hiding in the mountains of Shaanxi for the rest of 1638.
In 1639, an epidemic that would later become known as the Chongzhen Great Plague hit the Yangzi region and spread across the north. Famine and drought compounded the social discontent caused by the epidemic. Environmental disaster, disease, and the failure of the Chongzhen government to protect its people led to major peasant uprisings across Northern China beginning in 1628, with Shaanxi province as an epicenter of rebellion. In 1639, Li suffered massive setbacks in eastern Shaanxi, followed by the death of his wife and concubines. He fled into the hills between Shang and Luo counties with a handful of his closest supporters. Other rebels such as Zhang Xianzhong and Luo Rucai already surrendered to the Ming government and encouraged Li Zicheng to join them, but he refused. Li Zicheng managed to survive and escaped the authorities as he was reportedly training martial arts and studying the history of Liu Bang while doing so. In the summer of 1639, Li Zicheng took advantage of Zhang Xianzhong's second rebellion as his distraction to escape from the difficult situation. However, as they faced another trouble, his closest subordinate and divination advisor Liu Zongmin suggest surrender. According to legend, Liu instead changed his mind after he witnessed a positive prognosis of Li's fortune. To prove his fortitude, Liu killed his own wife and concubines, and descended from Shaanxi with their remaining followers to the central plain of Henan.
Within three years, Li succeeded in rallying more than 30,000 men to his cause. They attacked and killed prominent government officials such as Sun Chuanting in Henan, Shanxi, and Shaanxi. As Li won more battles and gained more support, his army grew larger. Historians attribute this growth in numbers to Li's reputation as a Robin Hood-style figure who showed compassion to the poor and attacked only Ming officials.
Li advocated the slogans of "dividing land equally" and "abolishing the grain taxes payment system" which won great support from the peasants. The song, "Killing cattle and sheep, preparing tasty wine and opening the city gate to welcome the Dashing King" was widely spread at the time.
In 1641, rebel forces led by Li Zicheng sacked the Shaolin Monastery due to the monks' support of the Ming dynasty and the possible threat they posed to the rebels. This effectively destroyed the temple's fighting force.
The 1642 Kaifeng flood, caused by breaches of the Yellow River dikes by both sides, ended the siege of Kaifeng and killed over 300,000 of its 378,000 residents. After the battles of Luoyang and Kaifeng, the Ming government was unable to stop Li's rebellion, as most of its military force was involved in the battle against the Manchus in the north.
Later, in 1643, Li Zicheng's victory against Sun Chuanting in central Henan reaffirmed his decision to march west to Xi'an. According to most accepted theory, Li made his mind during a meeting in Xiangjing as he already ruled out the choice of march towards Nanjing or to Beijing. Modern historian Roger V. Des Forges has suggested that Li Zicheng may have considered Shaanxi because he was a native of the province and the fact that the city had served as the political center of the Han and Tang dynasties, whose political models he aspired to emulate. However, as Gu Cheng suggested, it is likely that the decision to go to Xi'an was made after the surprisingly complete rout of Sun Chanting's forces in: after the battle, Li pursued Sun as he retreated to the west. According to Zheng Lian, Sun had first gone north to Mengjin, on the south bank of the Yellow River, where he was so distraught at the sight of his men being killed that he tried to throw himself in the river; his subordinates were able to intervene and convinced him to continue resisting the rebels. Zheng Lian also reports an unlikely story that Sun went to Shouyang mountain in Yanshi county, east of Luoyang, to pay respects to the Shang loyalists Bo Yi and Shu Qi, who had starved themselves to death rather than live under the Zhou. On 12 November, Li Zicheng's forces took Wenxiang, and 4 days later they assaulted beat Sun Chuanting forces at Tongguan, while Sun Chuanting himself was killed during the ensuing battle. Gao Jie and Bai Guang'en then fled further. After assigned his subordinate to command Tongguan, Li Zicheng proceeded again to Xi'an. In the next four days, Li's forces manage to take the towns of Huayang, Huazhou, Weinan, and Lintong without any meaningful resistance.