structural:reformatting
Rebellion and the Heavenly Kingdom

By 1850, Hong had between 10,000 and 30,000 followers. The authorities were alarmed at the growing size of the sect, and ordered them to disperse. A local force was sent to attack them when they refused, but the imperial troops were routed and a deputy magistrate killed. A full-scale attack was launched by government forces in the first month of 1851, in what came to be known as the Jintian Uprising, named after the town of Jintian (which became Guiping, Guangxi) where the sect was based. Hong's followers emerged victorious and beheaded the Manchu commander of the government army. Hong declared the founding of the "Heavenly Kingdom of Transcendent Peace" on 11 January 1851. Despite this evidence of planning, Hong and his followers faced immediate challenges. The local Green Standard Army outnumbered them ten to one, and had recruited the help of the river pirates to keep the rebellion contained to Jintian. After a month of preparation the rebels managed to break through the blockade and fight their way to the town of Yongan (distinct from places named Yong'an), which fell to them on 25 September 1851.

Hong and his troops remained in Yongan for three months, sustained by local landowners who were hostile to the Manchu-ruled Qing Dynasty. The imperial army regrouped and launched another attack on the rebels in Yongan. Having run out of gunpowder, Hong's followers fought their way out by sword, and made for the city of Guilin, to which they laid siege. However, the fortifications of Guilin proved too strong, and Hong and his followers eventually gave up and set out northwards, towards Hunan. Here, they encountered an elite militia created by a local member of the gentry specifically to put down peasant rebellions. The two forces fought at Soyi Ford on 10 June 1852; the rebels were forced into retreat, and 20% of their troops were killed. However, in March 1853, Hong's forces managed to take Nanjing and turned it into the capital of their movement.

After establishing his capital at Nanjing, Hong implemented an ambitious reform and modernization program. He created an elaborate civil bureaucracy, reformed the calendar used in his kingdom, outlawed opium use, and introduced a number of reforms designed to make women more socially equal to men. Hong ruled by making frequent proclamations from his Heavenly Palace, demanding strict compliance with various moral and religious rules. Most trade was suppressed, and some communal land ownership was introduced. Polygamy was forbidden and men and women were separated, although Hong and other leaders maintained groups of concubines.

Yang Xiuqing, also known as the "Eastern King", was a fellow Taiping leader who had directed successful military campaigns, and who often claimed to speak with the voice of God. Hong became increasingly suspicious of Yang's ambitions and his network of spies. In 1856, he and others in the Taiping élite had Yang and his family murdered in a purge that subsequently spun out of control, resulting in the further purge of its main perpetrator Wei Changhui.

Following a failed attempt by the Taiping rebels to take Shanghai in 1860, Qing government forces, aided by Western officers, slowly gained ground.