The recorded military history of China extends from about 2200 BC to the present day. Although traditional Chinese Confucian philosophy favored peaceful political solutions and showed contempt for brute military force, the military was influential in most Chinese states. Chinese pioneered the use of crossbows, advanced metallurgical standardization for arms and armor, early gunpowder weapons, and other advanced weapons, but also adopted nomadic cavalry and Western military technology. In addition, China's armies also benefited from an advanced logistics system as well as a rich strategic tradition, beginning with Sun Tzu's The Art of War, that deeply influenced military thought.
The military history of China stretches from roughly 2200 BC to the present day. Chinese armies were advanced and powerful, especially after the Warring States period. These armies were tasked with the twofold goal of defending China and her subject peoples from foreign intruders, and with expanding China's territory and influence across Asia
Early Chinese armies were relatively small affairs. Composed of peasant levies, usually serfs dependent upon the king or the feudal lord of their home state, these armies were relatively ill-equipped. While organized military forces had existed along with the state, few records remain of these early armies. These armies were centered around the chariot-riding nobility, who played a role akin to the European Knight as they were the main fighting force of the army. Bronze weapons such as spears and swords were the main equipment of both the infantry and charioteers. These armies were ill-trained and haphazardly supplied, meaning that they could not campaign for more than a few months and often had to give up their gains due to lack of supplies.
During the Shang and Western Zhou times, warfare was seen as an aristocratic affair, complete with protocols that may be compared to the chivalry of the European knight. States would not attack other states while mourning its ruler. Ruling houses would not be completely exterminated so descendants would be left to honor their ancestors.
Nevertheless, under the Shang and Zhou, these armies were able to expand China's territory and influence from a narrow part of the Yellow river valley to all of the North China plain. Equipped with bronze weapons, bows, and armor, these armies won victories against the sedentary Donghu to the East and South, which were the main direction of expansion, as well as defending the western border against the nomadic incursions of the Xirong. However, after the collapse of the Zhou Dynasty in 771 BC when the Xirong captured its capital Haojing, China collapsed into a plethora of small states, who warred frequently with each other. The competition between these states would eventually produce the professional armies that marked the Imperial Era of China.
During the Spring and Autumn period (771–479 BC), Duke Xiang of Song, when being advised to attack enemy Chu forces while the enemy army was fording a river, refused and waited for the Chu army to form formation. After Xiang lost the battle and was being rebuked by his ministers of war, he responded: "The gentleman does not inflict a second wound, nor does he capture those with gray hair. On campaigns the ancients did not obstruct those in a narrow pass. Even though I am but the remnant of a destroyed state, I will not drum an attack when the other side has not yet drawn up its ranks."  His minister retorted, "My lord does not know battle. If the mighty enemy is in a defile or with his ranks not drawn up, this is Heaven assisting us", signifying that by the Spring and Autumn period such attitudes on chivalric honor was dying out 
By the time of the Warring States, reforms began that abolished feudalism and created powerful, centralized states. The power of the aristocracy was curbed and for the first time, professional generals were appointed on merit, rather than birth. Technological advances such as iron weapons and crossbows put the chariot-riding nobility out of business and favored large, professional standing armies, who were well-supplied and could fight a sustained campaign. The size of armies increased; whereas before 500 BC Chinese field armies numbered in the tens of thousands, by 300 BC armies regularly included up to a couple of hundred thousand drafted soldiers, accompanied by cavalry. For example, during the Battle of Changping the state of Qin drafted all males over 15 years of age. Although these conscripts with one to two years of training would be no match individually against aristocratic warriors with years of experience, they made up for it with superior standardization, discipline, organization, and size. Although most soldiers were conscripts, it was also common to select soldiers based on specific qualifications. The Confucian adviser Xun Zi claimed that foot soldiers from the Wei state were required to wear armor and helmets, shoulder a crossbow with fifty arrows, strap a spear and sword, carry three days' supply of rations, and all the while march 50 kilometers in a day. When a man meets this requirement, his household would be exempted from all corvée labor obligations. He would also be given special tax benefits on land and housing. However, this policy made soldiers in the Wei state difficult to replace.
In addition, cavalry was introduced. The first recorded use of cavalry took place in the Battle of Maling, in which general Pang Juan of Wei led his division of 5,000 cavalry into a trap by Qi forces. In 307 BC, King Wuling of Zhao ordered the adoption of nomadic clothing in order to train his own division of cavalry archers.
In the field of military planning, the niceties of chivalrous warfare were abandoned in favor of a general who would ideally be a master of maneuver, illusion, and deception. He had to be ruthless in searching for the advantage, and an organizer in integrating units under him.
In 221 BC, the Qin unified China and ushered in the Imperial Era of Chinese history. Although it only lasted 15 years, Qin established institutions that would last for millennia. Qin Shi Huan, titling himself as the "First Emperor", standardized writing systems, weights, coinage, and even the axle lengths of carts. To reduce the chance of rebellion, he made the private possession of weapons illegal. In order to increase the rapid deployment of troops, thousands of miles of roads were built, along with canals that allowed boats to travel long distances. For the rest of Chinese history, a centralized empire was the norm.
During the Qin Dynasty and its successor, the Han, the Chinese armies were faced with a new military threat, that of nomadic confederations such as the Xiongnu in the North. These nomads were fast horse archers who had a significant mobility advantage over the settled nations to the South. In order to counter this threat, the Chinese built the Great Wall as a barrier to these nomadic incursions, and also used diplomacy and bribes to preserve peace. Although the Qin general Meng Tian ousted the Xiong-nu from the Ordos region, they regained power under the rule of Maodun. Maodun conquered the Eastern Hu and drove the Yuezhi tribes west. He reclaimed the Ordos from the now crumbling Qin empire and defeated the first Han emperor Gao in battle. This led to a policy of appeasement until the reign of Wudi of Han, who decided to take a tougher stance. However, protecting the borders required a significant investment. Manning the stations of the Great Wall took about ten thousand men. To support them, fifty to sixty thousand soldier-farmers were moved to the frontiers in order to reduce the cost of transporting supplies. These drafted farmers were not good cavalry troops, so a professional army emerged on the frontiers. These consisted of northern Han mercenaries, convicts working for their freedom, and subjected "Southern" Xiong-nu living within Han territory. By 31 BC, the Han dynasty abolished universal military conscription that was passed down from the Warring States. In the South, China's territory was roughly doubled as the Chinese conquered much of what is now Southern China, and extended the frontier from the Yangtze to Vietnam.
Armies during the Qin and Han dynasties largely inherited their institutions from the earlier Warring States Period, with the major exception that cavalry forces were becoming more and more important, due to the threat of the Xiongnu. Under Emperor Wu of Han, the Chinese launched a series of massive cavalry expeditions against the Xiongnu, defeating them and conquering much of what is now Northern China, Western China, Mongolia, Central Asia, and Korea. After these victories, Chinese armies were tasked with the goal of holding the new territories against incursions and revolts by peoples such as the Qiang, Xianbei and Xiongnu who had come under Chinese rule.
The structure of the army also changed in this period. While the Qin had utilized a conscript army, by Eastern Han, the army was made up largely of volunteers and conscription could be avoided by paying a fee. Those who presented the government with supplies, horses, or slaves were also exempted from conscription.
The end of the Han Dynasty saw a massive agrarian uprising that had to be quelled by local governors, who seized the opportunity to form their own armies. The central army disintegrated and was replaced by a series of local warlords, who fought for power until most of the North was unified by Cao Cao, who laid the foundation for the Wei Dynasty, which ruled most of China. However, much of Southern China was ruled by two rival Kingdoms, Shu Han and Wu. As a result, this era is known as the Three Kingdoms.
Under the Wei Dynasty, the military system changed from the centralized military system of the Han. Unlike the Han, whose forces were concentrated into a central army of volunteer soldiers, Wei's forces depended on the Buqu, a group for whom soldiering was a hereditary profession. These "military households" were given land to farm, but their children could only marry into the families of other "military households". In effect, the military career was inherited; when a soldier or commander died or became unable to fight, a male relative would inherit his position. These hereditary soldiers provided the bulk of the infantry. For the purpose of cavalry, the Wei was similar to the previous Han dynasty in recruiting large numbers of Xiongnu that were settled in southern Shanxi. In addition, provincial armies, which were very weak under the Han, became the bulk of the army under the Wei, for whom the central army was held mainly as a reserve. This military system was also adopted by the Jin Dynasty, who succeeded the Wei and unified China.
Advances such as the stirrup helped make cavalry forces more effective.
In 304 AD, a major event shook China. The Jin Dynasty, who had unified China 24 years earlier, was tottering in collapse due to a major civil war. Seizing this opportunity, Xiong-nu chieftain Liu Yuan and his forces revolted against their Han Chinese overlords. He was followed by many other barbarian leaders, and these rebels were called the "Wu Hu" or literally "Five barbarian tribes". By 316 AD, the Jin had lost all territory north of the Huai river. From this point on, much of North China was ruled by Sinicized barbarian tribes such as the Xianbei, while southern China remained under Han Chinese rule, a period known as the Era of Division. During this era, the military forces of both Northern and southern regimes diverged and developed very differently.
Northern China was devastated by the Wu Hu uprisings. After the initial uprising, the various tribes fought among themselves in a chaotic era known as the Sixteen Kingdoms. Although brief unifications of the North, such as Later Zhao and Former Qin, occurred, these were relatively short-lived. During this era, the Northern armies, were mainly based around nomadic cavalry, but also employed Chinese as foot soldiers and siege personnel. This military system was rather improvising and ineffective, and the states established by the Wu Hu were mostly destroyed by the Jin Dynasty or the Xianbei.
A new military system did not come until the invasions of the Xianbei in the 5th century, by which time most of the Wu Hu had been destroyed and much of North China had been reconquered by the Chinese dynasties in the South. Nevertheless, the Xianbei won many successes against the Chinese, conquering all of North China by 468 AD The Xianbei state of Northern Wei created the earliest forms of the equal field (均田) land system and the Fubing system (府兵) military system, both of which became major institutions under Sui and Tang. Under the fubing system each headquarters (府) commanded about one thousand farmer-soldiers who could be mobilized for war. In peacetime they were self-sustaining on their land allotments, and were obliged to do tours of active duty in the capital.
Southern Chinese dynasties, being descended from the Han and Jin, prided themselves on being the successors of the Chinese civilization and disdained the Northern dynasties, who they viewed as barbarian usurpers. Southern armies continued the military system of Buqu or hereditary soldiers from the Jin Dynasty. However, the growing power of aristocratic landowners, who also provided many of the buqu, meant that the Southern dynasties were very unstable; after the fall of the Jin, four dynasties ruled in just two centuries.
This is not to say that the Southern armies did not work well. Southern armies won great victories in the late 4th century, such as the battle of Fei at which an 80,000-man Jin army crushed the 300,000-man army of Former Qin, an empire founded by one of the Wu Hu tribes that had briefly unified North China. In addition, under the brilliant general Liu Yu, Chinese armies briefly reconquered much of North China.
In 581 AD, the Chinese Yang Jian forced the Xianbei ruler to abdicate, founding the Sui Dynasty and restoring Chinese rule in the North. By 589 AD, he had unified much of China.
The Sui's unification of China sparked a new golden age. During the Sui and Tang, Chinese armies, based on the Fubing system invented during the era of division, won military successes that restored the empire of the Han Dynasty and reasserted Chinese power. The Tang created large contingents of powerful heavy cavalry. A key component of the success of Sui and Tang armies, just like the earlier Qin and Han armies, was the adoption of large elements of cavalry. These powerful horsemen, combined with the superior firepower of the Chinese infantry (powerful missile weapons such as recurve crossbows), made Chinese armies powerful.
However, during the Tang Dynasty the fubing (府兵) system began to break down. Based on state ownership of the land under the juntian system, the prosperity of the Tang Dynasty meant that the state's lands were being bought up in ever increasing quantities. Consequently, the state could no longer provide land to the farmers, and the juntian system broke down. By the 8th century, the Tang had reverted to the centralized military system of the Han. However, this also did not last and it broke down during the disorder of the An Lushan, which saw many fanzhen or local generals become extraordinarily powerful. These fanzhen were so powerful they collected taxes, raised armies, and made their positions hereditary. Because of this, the central army of the Tang was greatly weakened. Eventually, the Tang Dynasty collapsed and the various fanzhen were made into separate kingdoms, a situation that would last until the Song Dynasty.
During the Tang, professional military writing and schools began to be set up to train officers, an institution that would be expanded during the Song.
In 756, over 4,000 Arab mercenaries joined the Chinese against An Lushan. They remained in China, and some of them were ancestors of the Hui people. During the Tang Dynasty, 3,000 Chinese soldiers, and 3,000 Muslim soldiers were traded to each other in an agreement.
During the Song Dynasty, the emperors were focused on curbing the power of the Fanzhen, local generals who they viewed as responsible for the collapse of the Tang Dynasty. Local power was curbed and most power was centralized in the government, along with the army. In addition, the Song adopted a system in which commands by generals were ad hoc and temporary; this was to prevent the troops from becoming attached to their generals, who could potentially rebel. Successful generals such as Yue Fei and Liu Zen were persecuted by the Song Court who feared they would rebel.
Although the system worked when it came to quelling rebellions, it was a failure in defending China and asserting its power. The Song had to rely on new gunpowder weapons introduced during the late Tang and bribes to fend off attacks by its enemies, such as the Khitan, Tanguts, Jurchens, and Mongols, as well as an expanded army of over 1 million men. In addition, the Song was greatly disadvantaged by the fact their neighbors had taken advantage of the era of chaos following the collapse of the Tang to advance into Northern China unimpeded. The Song also lost the horse-producing regions which made their cavalry extremely inferior.
The military technology of the Song included gunpowder weapons such as fire lances, cast-iron gunpowder bombs, and rockets were employed in large numbers. The Song government also created China's first standing navy. This military technology and prosperous economy were key for the Song army to fend off invaders who could not be bribed with "tribute payments," such as the Khitans and Jur'chens. Song forces held off Central Asian Mongol armies longer than did other settled peoples, until the fall of the Song in 1279.
Founded by the Mongols who conquered Song China, the Yuan had the same military system as most nomadic peoples to China's north, focused mainly on nomadic cavalry, who were organized based on households and who were led by leaders appointed by the khan.
The Mongol invasion started in earnest only when they acquired their first navy, mainly from Chinese Song defectors. Liu Cheng, a Chinese Song commander who defected to the Mongols, suggested a switch in tactics, and assisted the Mongols in building their own fleet. Many Chinese served in the Mongol navy and army and assisted them in their conquest of Song.
However, in the conquest of China, the Mongols also adopted gunpowder weapons such as the thundercrash bomb and thousands of Chinese infantry and naval forces into the Mongol army. Another weapon adopted by the Mongols were Saracen counterweight trebuchets designed by Muslim engineers; these proved decisive in the Siege of Xiangyang, whose capture by the Mongols precipitated the beginning of the end for the Song Dynasty. The Mongol military system began to collapse after the 14th century and by 1368 the Mongols was driven out by the Chinese Ming Dynasty.
During the Mongol invasion of Iraq, 1,000 Chinese crossbowmen who utilized fire arrows participated in the invasion, along with the Mongol tribesmen. In 1258 the commander of the Mongol Hulagu Khan's forces besieging Baghdad was a Chinese General Guo Kan. The Chinese General Guo Kan was then made Governor of Baghdad by Hulagu, who also brought Chinese technicians specializing in hydraulics to engineer the Tigris–Euphrates basin irrigation systems. This resulted in the Middle East being permeated by major Chinese influence during Hulagu's reign.
The early Ming Emperors from Hongwu to Zhengde continued Yuan practices such as hereditary military institutions, demanding Korean concubines and eunuchs, having Muslim eunuchs, wearing Mongol style clothing and Mongol hats, engaging in archery and horseback riding, having Mongols serve in the Ming military, patronizing Tibetan Buddhism, with the early Ming Emperors seeking to project themselves as "universal rulers" to various peoples such as Central Asian Muslims, Tibetans, and Mongols, modeled after the Mongol Khagan, however, this history of Ming universalism has been obscured and denied by historians who covered it up and presented the Ming as xenophobes seeking to expunge Mongol influence and presenting while they presented the Qing and Yuan as "universal" rulers in contrast to the Ming.
A cavalry based army modeled on the Yuan military was implemented by the Hongwu and Yongle Emperors. Hongwu's army and officialdom incorporated Mongols. Mongols were retained by the Ming within its territory. in Guangxi Mongol archers participated in a war against Miao minorities.
At the Guozijian, law, math, calligraphy, equestrianism, and archery were emphasized by the Ming Hongwu Emperor in addition to Confucian classics and also required in the Imperial Examinations.:267 Archery and equestrianism were added to the exam by Hongwu in 1370 like how archery and equestrianism were required for non-military officials at the 武舉 College of War in 1162 by the Song Emperor Xiaozong. The area around the Meridian Gate of Nanjing was used for archery by guards and generals under Hongwu.
The Imperial exam included archery. Archery on horseback was practiced by Chinese living near the frontier. Wang Ju's writings on archery were followed during the Ming and Yuan and the Ming developed new methods of archery.:271– Jinling Tuyong showed archery in Nanjing during the Ming. Contests in archery were held in the capital for Garrison of Guard soldiers who were handpicked.
The Ming focused on building up a powerful standing army that could drive off attacks by foreign barbarians. Beginning in the 14th century, the Ming armies drove out the Mongols and expanded China's territories to include Yunnan, Mongolia, Tibet, much of Xinjiang and Vietnam. The Ming also engaged in Overseas expeditions which included one violent conflict in Sri Lanka. Ming armies incorporated gunpowder weapons into their military force, speeding up a development that had been prevalent since the Song.
Ming military institutions were largely responsible for the success of Ming's armies. The early Ming's military was organized by the Wei-suo system, which split the army up into numerous "Wei" or commands throughout the Ming frontiers. Each wei was to be self-sufficient in agriculture, with the troops stationed there farming as well as training. This system also forced soldiers to serve hereditarily in the army; although effective in initially taking control of the empire, this military system proved unviable in the long run and collapsed in the 1430s, with Ming reverted to a professional volunteer army similar to Tang, Song and Later Han.
Throughout most of the Ming's history, the Ming armies were successful in defeating foreign powers such as the Mongols and Japanese and expanding China's influence. However, with the little Ice Age in the 17th century, the Ming Dynasty was faced with a disastrous famine and its military forces disintegrated as a result of the famines spurring from this event.
The Chinese defeated the Portuguese at the First Battle of Tamao (1521) and at the Second Battle of Tamao (1522) Chinese ships knocked out two Portuguese ships, who were armed with gunpowder weapons, and forced the Portuguese to retreat.
The Ming dynasty defeated the Dutch in the Sino–Dutch conflicts in 1622-1624 over the Penghu islands and at the Battle of Liaoluo Bay in 1633. In 1662, Chinese and European arms clashed when a Ming-loyalist army of 25,000 led by Koxinga forced Dutch East India Company garrison of 2,000 on Taiwan into surrender, after a final assault during a seven-month siege. According to Frederick Coyett's account written after the siege to absolve himself of the Dutch defeat, the alleged final blow to the Company's defense came when a Dutch defector, who would warn Koxinga of a life-threatening bombardment, had pointed the inactive besieging army to the weak points of the Dutch star-shaped fort. This claim of a Dutch defector only appears in Coyett's account and Chinese records make no such mention of any defector. While the mainstay of the Chinese forces were archers, the Chinese used cannons too during the siege, which however the European eyewitnesses did not judge as effective as the Dutch batteries. The Dutch lost five ships and 130 men in an attempt to relieve the siege of the fortress.
The Qing dynasty, founded by the Manchus, was, like the Yuan a conquest dynasty. The Manchus were a sedentary agricultural people who lived in fixed villages, farmed crops, practiced hunting and mounted archery., In the late sixteenth century, Nurhaci, founder of the Later Jin dynasty (1616-1636) and originally a Ming vassal, began organizing "Banners", military-social units that included Jurchen, Han Chinese, Korean and Mongol elements under direct command of the Emperor.
The main Manchu tactics were using infantry with bows and arrows, swords, and pikes while cavalry was kept in the rear. Unlike the Song and Ming, however, the Qing armies neglected firearms, and did not develop them in any significant way. In addition, the Qing armies also contained a much higher proportion of cavalry than earlier Chinese dynasties.
Hong Taiji, the son of Nurhaci, recognized that Han Chinese were needed in the conquest of the Ming, as he explained why he treated the Ming defector General Hong Chengchou leniently. Ming artillery was responsible for many victories. The Ming would not be easily defeated unless musket and cannon wielding Han Chinese troops were added to the existing banners. Han Chinese Generals who defected to the Manchu were often given women from the Imperial Aisin Gioro family in marriage while the ordinary soldiers who defected were often given non-royal Manchu women as wives. Nurhaci married one of his granddaughters to the Ming General Li Yongfang after he surrendered the city of Fushun in Liaoning in 1618 and a mass marriage of Han Chinese officers and officials to Manchu women numbering 1,000 couples was arranged by Prince Yoto and Hongtaiji in 1632 to promote harmony between the two ethnic groups.
The Qing differentiated between Han Bannermen and ordinary Han civilians. Han Chinese who defected up to 1644 and joined the Eight Banners were made bannermen, giving them social and legal privileges in addition to being acculturated to Manchu culture. Han defected to the Qing and swelled the ranks of the Eight Banners so much that ethnic Manchus became a minority, constituting only 16% in 1648, Han Bannermen 75%, and Mongol Bannermen making up the rest.
In 1644, the invading army was multi-ethnic, with Han, Mongols, and Manchu banners. The political divide was between Han Chinese non bannermen and the "conquest elite", made up of Han Chinese bannermen, nobles, Mongols and Manchu; ethnicity was not the factor. Among the Banners, gunpowder weapons like muskets and artillery were specifically wielded by the Chinese Banners. Bannermen made up the majority of governors in the early Qing and were the ones who governed and administered China after the conquest, stabilizing Qing rule. Han Bannermen dominated the post of governor-general in the time of the Shunzhi and Kangxi Emperors, and also the post of governors, largely excluding ordinary Han civilians from the posts.
The Qing relied on the Green Standard soldiers, made up of Han Chinese who had defected, to help rule northern China. Green Standard Han Chinese troops governed locally while Han Chinese Bannermen, Mongol Bannermen, and Manchu Bannermen were brought only into emergency situations where there was sustained military resistance.
Since it was not possible for only Manchus to conquer southern China, Ming Han Chinese armies conquered the territory for them. Three Liaodong Han Bannermen officers who played a great role in the conquest of southern China were Shang Kexi, Geng Zhongming, and Kong Youde, who then governed southern China autonomously as viceroys for the Qing. Wu, Geng, and Shang's son, Shang Zhixin, in the early 1660s began to feel threatened by the increasing control from the north, and decided they had no choice but to revolt. The ensuing Revolt of the Three Feudatories lasted for eight years. At the peak of the rebels' fortunes, they extended their control as far north as the Yangtze River, nearly establishing a divided China. Wu then hesitated to go further north, not being able to coordinate strategy with his allies, and Emperor Kangxi was able to unify his forces for a counterattack led by a new generation of Manchu generals. By 1681, the Qing government had established control over a ravaged southern China from which it took several decades to recover.
Manchu Generals and Bannermen were initially put to shame by the better performance of the Han Chinese Green Standard Army, who fought better than them against the rebels and this was noted by Kangxi, leading him to task Generals Sun Sike, Wang Jinbao, and Zhao Liangdong to lead Green Standard Soldiers to crush the rebels. The Qing thought that Han Chinese were superior at battling other Han people and so used the Green Standard Army as the dominant and majority army in crushing the rebels instead of Bannermen. In northwestern China against Wang Fuchen, the Qing put Bannermen in the rear as reserves while they used Han Chinese Green Standard Army soldiers and Han Chinese Generals like Zhang Liangdong, Wang Jinbao, and Zhang Yong as the primary military forces, considering Han troops as better at fighting other Han people, and these Han generals achieved victory over the rebels. Sichuan and southern Shaanxi were retaken by the Han Chinese Green Standard Army under Wang Jinbao and Zhao Liangdong in 1680, with Manchus only participating in dealing with logistics and provisions. 400,000 Green Standard Army soldiers and 150,000 Bannermen served on the Qing side during the war. 213 Han Chinese Banner companies, and 527 companies of Mongol and Manchu Banners were mobilized by the Qing during the revolt. The Qing had the support of the majority of Han Chinese soldiers and Han elite against the Three Feudatories, since they refused to join Wu Sangui in the revolt, while the Eight Banners and Manchu officers fared poorly against Wu Sangui, so the Qing responded with using a massive army of more than 900,000 Han Chinese (non-Banner) instead of the Eight Banners, to fight and crush the Three Feudatories. Wu Sangui's forces were crushed by the Green Standard Army, made out of defected Ming soldiers.
The Manchus sent Han Bannermen to fight against Koxinga's Ming loyalists in Fujian. The Qing carried out a massive depopulation policy and seaban forcing people to evacuated the coast in order to deprive Koxinga's Ming loyalists of resources, this has led to a myth that it was because Manchus were "afraid of water". In Fujian, it was Han Bannermen who were the ones carrying out the fighting and killing for the Qing and this disproved the entirely irrelevant claim that alleged fear of the water on part of the Manchus had to do with the coastal evacuation and seaban. Even though a poem refers to the soldiers carrying out massacres in Fujian as "barbarian", both Han Green Standard Army and Han Bannermen were involved in the fighting for the Qing side and carried out the worst slaughter.
In 1652–1689, during the Sino-Russian border conflicts, the Qing dynasty engaged and pushed back about 2,000 Russian Cossacks in a series of intermittent skirmishes. The frontier in the south-west was extended slowly, in 1701 the Qing defeated Tibetans at the Battle of Dartsedo. The Dzungar Khanate conquered the Uyghurs in the Dzungar conquest of Altishahr and seized control of Tibet.
Han Chinese Green Standard Army soldiers and Manchu bannermen were commanded by the Han Chinese General Yue Zhongqi in the Chinese expedition to Tibet (1720) which expelled the Dzungars from Tibet and placed it under Qing rule. At multiple places such as Lhasa, Batang, Dartsendo, Lhari, Chamdo, and Litang, Green Standard troops were garrisoned throughout the Dzungar war. Green Standard Army troops and Manchu Bannermen were both part of the Qing force who fought in Tibet in the war against the Dzungars. It was said that the Sichuan commander Yue Zhongqi (a descendant of Yue Fei) entered Lhasa first when the 2,000 Green Standard soldiers and 1,000 Manchu soldiers of the "Sichuan route" seized Lhasa. According to Mark C. Elliott, after 1728 the Qing used Green Standard Army troops to man the garrison in Lhasa rather than Bannermen. According to Evelyn S. Rawski both Green Standard Army and Bannermen made up the Qing garrison in Tibet. According to Sabine Dabringhaus, Green Standard Chinese soldiers numbering more than 1,300 were stationed by the Qing in Tibet to support the 3,000 strong Tibetan army.
During the reign of the Qianlong Emperor in the mid-late 18th century, they launched the Ten Great Campaigns resulting in victories over the Dzungar Khanate and the Kingdom of Nepal; the Manchus drove the Gurkhas out of Tibet and only stopped their chase near Kathmandu. After the demise of the Dzunghar Khanate, the Manchu authority in Tibet faced only weak opposition. In 1841, the Sino-Sikh war ended with the expulsion of the Sikh army.
A British officer said of Qing forces during the First Opium War, "The Chinese are robust muscular fellows, and no cowards; the Tartars desperate; but neither are well commanded nor acquainted with European warfare. Having had, however, experience of three of them, I am inclined to supposed that a Tartar bullet is not a whit softer than a French one." Manchus are called "Tartars" in the text.
Southern Chinese coolies served with the French and British forces against the Qing: "The Chinese coolies entertained in 1857 from the inhabitants of South China, renegades though they were, served the British faithfully and cheerfully before Canton, and throughou the operations in North China in 1860 they likewise proved invaluable. Their coolness under fire was admirable. At the assault of the Peiho Forts in 1860 they carried the French ladders to the ditch, and, standing in the water up to their necks, supported them with their hands to enable the storming party to cross. It was not usual to take them into action ; they, however, bore the dangers of a distant fire with the greatest composure, evincing a strong desire to close with their compatriots, and engage them in mortal combat with ther bamboos.—(Fisher.)"
During the Taiping Rebellion (1850–1864), the rebel forces led by able generals such as Shi Dakai were well organized and tactically innovative. After the rebel armies defeated Manchu generals in a series of battles, the Qing government allowed armies made up of foreigners, such as the Ever Victorious Army, and eventually responded by forming armies mainly composed of Han Chinese, and under Han Chinese commanders such as Zeng Guofan, Zuo Zongtang, Li Hongzhang and Yuan Shikai. Examples of these armies were the Xiang Army and the Huai Army. The Qing also absorbed bandit armies and Generals who defected to the Qing side during rebellions, such as the Muslim Generals Ma Zhan'ao, Ma Qianling, Ma Haiyan, and Ma Julung. There were also armies composed of Chinese Muslims led by Muslim Generals like Dong Fuxiang, Ma Anliang, Ma Fuxiang, and Ma Fuxing who commanded the Kansu Braves. Local officials could also take command of military affairs, such as the father of Yang Zengxin during the Panthay Rebellion.
The Beiyang Army was the army of northern China.
In 1885 Li Hongzhang founded the Tianjin Military Academy 天津武備學堂 for Chinese army officers, with German advisers, as part of his military reforms. The move was supported by Anhui Army commander Zhou Shengchuan. The academy was to serve Anhui Army and Green Standard Army officers. Various practical military, mathematic and science subjects were taught at the academy. The instructors were German officers. Another program was started at the academy for five years in 1887 to train teenagers as new army officers. Mathematics, practical and technical subjects, sciences, foreign languages, Chinese Classics and history were taught at the school. Exams were administered to students. The instruction for Tianjin Military Academy was copied at the Weihaiwei and Shanhaiguan military schools. The 'maritime defense fund' supplied the budget for the Tianjin Military Academy, which was shared with the Tianjin Naval Academy.
天津武備學堂 The Tianjin Military Academy in 1886 adopted as part of its curriculum the Romance of the Three Kingdoms. Among its alumni were Wang Yingkai and 段祺瑞 Duan Qirui. Among its staff was Yinchang.
The Qing founded Baoding Military Academy.
Military training was undertaken by martial artists in the Qing armed forces.
Associations for martial arts were joined by Manchu Bannermen in Beijing.
Soldiers and officers in the Qing army were taught by the Muslim martial arts instructor Wang Zi-Ping before he fought in the Boxer rebellion. Another teacher of martial arts in the military in Beijing was Wang Xiang Zhai. The trainers in martial arts in the army had to deal with a massive assortment of different armaments such as spears and swords. Gunpowder weaponry had been long used by China so the mentality that melee combat in China being replaced out of thin air by western guns was a myth. Cavalry were also taught martial arts. Martial arts were part of the exams for military officers. Martial artists were among those who settled in urban from the countryside. The Qing and Ming military drew on the Shaolin tradition. Techniques and armaments cross fertilized across the army and civilian realms. The army included trainers in martial arts from the Taoists. The Taiping military had martial artists.
China began to extensively modernize its military in the late 19th century. It purchased the most modern Krupp artillery and Mauser repeater magazine rifles from Germany, in addition to mines and torpedoes. It used these with sniper, pincer, and ambush tactics, and China also began to reorganize its military, adding engineer companies and artillery brigades. Mining, engineering, flooding, and simultaneous multiple attacks were employed by Chinese troops along with modern artillery. By 1882, the Qing navy had some fifty steam warships, half of them built in China. The American Commodore Robert Shufeldt, reported that the British-built Chinese ships he inspected had "every modern appliance," including "guns with large calibre and high velocity, moved by hydraulic power, machine guns, electric lights, torpedoes and torpedo boats, engines with twin screws, steel rams, etc. etc." Yet, Shufeldt concludes, in order to be really effective, it needs an intelligent personnel and a thorough organization." Li Hongzhang evidently agreed, and sent Chinese students and officers to the United States and Germany for training. The Tientsin Arsenal developed the capacity to manufacture "electric torpedoes,"  that is, what would now be called "mines," A western consul general reported that they were deployed in waterways along with other modern military weapons.
The Chinese armies which received the modern equipment and training were the Han Chinese Xiang Army, the Muslim Kansu Braves, and three Manchu Banner Divisions. The three Manchu divisions were destroyed in the Boxer Rebellion. The Xiang Army employed the new weaponry to achieve victory in the Dungan revolt, with German Dreyse Needle Guns and Krupp artillery. The Lanzhou arsenal in China in 1875 was able to produce modern European munitions and artillery by itself, with no foreign help. A Russian even saw the arsenal make "steel rifle-barrelled breechloaders".
Chinese military officials were interested in western guns, and eagerly purchased them. Modern arsenals were established at places like Hanyang Arsenal, which produced German Mauser rifles and mountain guns. The Nanjing arsenal was making Hotchkiss, Maxim, and Nordenfeld guns in 1892. A Frenchman reported that China had the ability to reverse engineer any western weapon they needed. A British also noted that Chinese were efficient at reverse engineering foreign weapons and building their own versions.In the first Opium War the Chinese copied the British weapons and upgraded their military hardware while the fighting was going on. Tianjin arsenal made Dahlgren guns, 10,000 Remington rifles monthly, as of 1872. Li Hongzhang in 1890 added equipment, allowing it to make Maxim Machine guns, Nordenfelt cannons, Krupp guns, and ammunition for all of these. China was extremely familiar with R&D on German military hardware. Gatling guns and other artillery were purchased by the Chinese military from western countries. Montigny mitrailleuse guns were also imported from France.
In addition to modern equipment, Chinese weapons, like fire arrows, light mortars, dadao swords, matchlocks, bows and arrows, crossbows, and halberds continued to be used alongside the western weaponry. Chinese gingal guns firing massive shells were used accurately, and inflicted severe wounds and death on the Allied troops during the Boxer Rebellion. In some cases, primitive weapons like Chinese spears were more effective than British bayonets in close quarter fighting.
During the Boxer Rebellion, Imperial Chinese forces deployed a weapon called "electric mines" on June 15, at the river Peiho river before the Battle of Dagu Forts (1900), to prevent the western Eight-Nation Alliance from sending ships to attack. This was reported by American military intelligence in the United States. War Dept. by the United States. Adjutant-General's Office. Military Information Division. Different Chinese armies were modernized to different degrees by the Qing dynasty. For example, during the Boxer Rebellion, in contrast to the Manchu and other Chinese soldiers who used arrows and bows, the Muslim Kansu Braves cavalry had the newest carbine rifles. The Muslim Kansu Braves used the weaponry to inflict numerous defeats upon western armies in the Boxer Rebellion, in the Battle of Langfang, and, numerous other engagements around Tianjin.  The Times noted that "10,000 European troops where held in check by 15,000 Chinese braves". Chinese artillery fire caused a steady stream of casualties upon the western soldiers. During one engagement, heavy casualties were inflicted on the French and Japanese, and the British and Russians lost some men. Chinese artillerymen during the battle also learned how to use their German bought Krupp artillery accurately, outperforming European gunners. The Chinese artillery shells slammed right on target into the western armies military areas. After the skirmishes that ended the 55-day Siege of the International Legations by the Boxers, missionary Arthur Henderson Smith noted, " ... whatever else the enterprise may have accomplished it disposed once for all of the favourite proposition so often advanced that it would be possible for a small but well organized and thoroughly equipped foreign force to march through China from end to end without effective opposition."
Historians have judged the Qing dynasty's vulnerability and weakness to foreign imperialism in the 19th century to be based mainly on its maritime naval weakness while it achieved military success against westerners on land, the historian Edward L. Dreyer said that "China’s nineteenth-century humiliations were strongly related to her weakness and failure at sea. At the start of the Opium War, China had no unified navy and no sense of how vulnerable she was to attack from the sea; British forces sailed and steamed wherever they wanted to go......In the Arrow War (1856-60), the Chinese had no way to prevent the Anglo-French expedition of 1860 from sailing into the Gulf of Zhili and landing as near as possible to Beijing. Meanwhile, new but not exactly modern Chinese armies suppressed the midcentury rebellions, bluffed Russia into a peaceful settlement of disputed frontiers in Central Asia, and defeated the French forces on land in the Sino-French War (1884-85). But the defeat of the fleet, and the resulting threat to steamship traffic to Taiwan, forced China to conclude peace on unfavorable terms."
The Qing dynasty forced Russia to hand over disputed territory in the Treaty of Saint Petersburg (1881), in what was widely seen by the west as a diplomatic victory for the Qing. Russia acknowledged that Qing China potentially posed a serious military threat. Mass media in the west during this era portrayed China as a rising military power due to its modernization programs and as a major threat to the western world, invoking fears that China would successfully conquer western colonies like Australia.
Chinese military thought's most famous tome is Sun Tzu's Art of war, written in the Warring States Era. In the book, Sun Tzu laid out several important cornerstones of military thought, such as:
Sun Tzu's work became the cornerstone of military thought, which grew rapidly. By the Han Dynasty, no less than 11 schools of military thought were recognized. During the Song Dynasty, a military academy was established.
This article needs additional citations for verification. (September 2017) (Learn how and when to remove this template message)
In their various campaigns, the Chinese armies through the ages, employed a variety of equipment in the different arms of the army. The most notable weaponry used by the Chinese consisted of crossbows, rockets, gunpowder weapons, and other "exotic weapons", but the Chinese also made many advances on conventional iron weapons such as swords and spears that were far superior to other contemporary weapons.
The crossbow, invented by Chinese in the 7th century BC, and by Greeks in the 5th century BC, was considered the most important weapon of the Chinese armies. The mass use of crossbows allowed Chinese armies to deploy huge amounts of firepower, due to the crossbow's deadly penetration, long range, and rapid rate of fire. As early as the 4th century BC, Chinese texts describe armies employing up to 10,000 crossbowmen in combat, where their impact was decisive.
Crossbow manufacture was very complex, due to the nature of the firing bolt. Historian Homer Dubs claim that the crossbow firing mechanism "was almost as complex as a rifle bolt, and could only be reproduced by very competent mechanics. This gave an additional advantage, as this made the crossbow "capture-proof" as even if China's barbarian enemies captured them they would not be able to reproduce the weapon.Crossbow ammunition could also only be used in crossbows, and was useless in the conventional bows employed by China's nomadic enemies.
In combat, crossbows were often fitted with grid sights to help aim, and several different sizes were used.During the Song Dynasty, huge artillery crossbows were used that could shoot several bolts at once, killing many men at a time. Even cavalrymen were sometimes issued with crossbows. It was recorded that the crossbow could "penetrate a large elm from a distance of one hundred and forty paces". Repeating crossbows were introduced in the 11th century, which had a very high rate of fire; 100 men could discharge 2000 bolts in 15 seconds, with a range of 200 yards. This weapon became the standard crossbow used during the Song, Ming, and Qing dynasties.
As inventors of gunpowder, the Chinese were the first to deploy gunpowder weapons. A large variety of gunpowder weapons were produced, including guns, cannons, mines, the flamethrower, bombs, and rockets. After the rise of the Ming Dynasty, China began to lose its lead in gunpowder weapons to the west. This became partially evident when the Manchus' began to rely on the Jesuits to run their cannon foundry, at a time when European powers had assumed the global lead in gunpowder warfare through their Military Revolution.
The first "proto-gun", the fire lance, was introduced in 905 AD. This consisted of a bamboo or metal tube attached to a spear filled with gunpowder that could be ignited at will, with a range of five metres. It was capable of killing or maiming several soldiers at a time and was mass-produced and used especially in the defense of cities. Later versions of the fire lance dropped the spear point and had more gunpowder content.
Traditionally interpreted as a wind god, a sculpture in Sichuan was found holding a bombard, and the date must be as early as AD 1128 These cast-iron hand cannons and erupters were mostly fitted to ships and fortifications for defense.
Cannon were used by Ming dynasty forces at the Battle of Lake Poyang. Ming dynasty era ships had bronze cannon. One shipwreck in Shandong had a cannon dated to 1377 and an anchor dated to 1372. From the 13th to 15th centuries cannon armed Chinese ships also traveled throughout south east Asia.
High explosive bombs were another innovation developed by the Chinese in the 10th century. These consisted largely of round objects covered with paper or bamboo filled with gunpowder that would explode upon contact and set fire to anything flammable. These weapons, known as "thunderclap bombs", were used by defenders in sieges on attacking enemies and also by trebuchets, which hurled huge numbers of them onto the enemy. A new improved version of these bombs, called the "thunder-crash" bomb, was introduced in the 13th century; it was covered in cast iron, was highly explosive, and hurled shrapnel at the enemy. These weapons were not only used by Song China, but also its Jur'chen and Mongol enemies. In the history of the Jur'chen Jin dynasty, the use of cast-iron gunpowder bombs against the Mongols is described.
By the time of the Ming Dynasty, Chinese technology had progressed to making large land mines, many of them were deployed on the northern border.
Flamethrowers were employed in naval combat in the Yangtze river, and large-scale use of the flamethrower is recorded in 975, when the Southern Tang navy employed flamethrowers against Song naval forces, but the wind blew the other way, causing the Southern Tang fleet to be immolated, and allowing the Song to conquer South China.During Song times, the flamethrower was used not only in naval combat but also in defense of cities, where they were placed on the city walls to incinerate any attacking soldiers.
During the Ming dynasty, the design of rockets were further refined and multi-stage rockets and large batteries of rockets were produced. Multi-stage rockets were introduced for naval combat. Like other technology, knowledge of rockets were transmitted to the Middle East and the West through the Mongols, where they were described by Arabs as "Chinese arrows".
In the 2nd century BC, the Han began to produce steel from cast iron. New steel weapons were manufactured that gave Chinese infantry an edge in close-range fighting, though swords and blades were also used. In addition, the Chinese infantry were given extremely heavy armor in order to withstand cavalry charges, some 29.8 kg of armor during the Song Dynasty. Unclear reference .
The cavalry was equipped with heavy armor in order to crush a line of infantry, though light cavalry was used for reconnaissance. However, Chinese armies lacked horses and their cavalry were often inferior to their horse archer opponents. Therefore, in most of these campaigns, the cavalry had to rely on the infantry to provide support. Between the Jin and Tang dynasty, fully armored cataphracts were introduced in combat. An important innovation was the invention of the stirrup. From early Indian invention, which allowed cavalrymen to be much more effective in combat; this innovation later spread to East north and west via the nomadic populations of central Asia and to west by the Avars. However, some believe northern nomads were responsible for this innovation.
Some authors, such as Lynn White, claim the use of the stirrup in Europe stimulated development of the medieval knights which characterized feudal Europe. However, this thesis was disputed in the Great Stirrup Controversy by historians such as Bernard Bachrach, although it has been pointed out that the Carolingian riders may have been the most expert cavalry of all at its use.
During the Han Dynasty, state manufacturers were producing stink bombs and tear gas bombs that were used effectively to suppress a revolt in 178 AD. Poisionous materials were also employed in rockets and crossbow ammunition to increase their effectiveness.
The Chinese armies also benefited from a logistics system that could supply hundreds of thousands of men at a time. An important innovation by the Chinese was the introduction of an efficient horse harness in the 4th century BC,strapped to the chest instead of the neck, an innovation later expanded to a collar harness. This innovation, along with the wheelbarrow, allowed large-scale transportation to occur, allowing huge armies numbering hundreds of thousands of men in the field.
Chinese armies were also backed by a vast complex of arms-producing factories. State-owned factories turned out weapons by the thousands, though some dynasties (such as the Later Han) privatized their arms industry and acquired weapons from private merchants.
During the Han dynasty, Chinese developed methods of food preservation for military rations during campaigns such as drying meat into jerky and cooking, roasting, and drying grain.
In early Chinese armies, command of armies was based on birth rather than merit. For example, in the State of Qi during the Spring and Autumn period (771 BC–476 BC), command was delegated to the ruler, the crown prince, and the second son. By the time of the Warring States Period, generals were appointed based on merit rather than birth, the majority of whom were talented individuals who gradually rose through the ranks.
Nevertheless, Chinese armies were sometimes commanded by individuals other than generals. For example, during the Tang Dynasty, the emperor instituted "Army supervisors" who spied on the generals and interfered in their commands, although most of these practices were short-lived as they disrupted the efficiency of the army.
<ref>tag; name "Fairbank1978" defined multiple times with different content (see the help page). Cite error: Invalid
<ref>tag; name "Fairbank1978" defined multiple times with different content (see the help page). Cite error: Invalid
<ref>tag; name "Fairbank1978" defined multiple times with different content (see the help page). Cite error: Invalid
<ref>tag; name "Fairbank1978" defined multiple times with different content (see the help page). Cite error: Invalid
<ref>tag; name "Fairbank1978" defined multiple times with different content (see the help page). Cite error: Invalid
<ref>tag; name "Fairbank1978" defined multiple times with different content (see the help page).
Little is known about their armament, but Chinese ships did carry bronze cannon at this time, as evidenced by the wreck of a small two-masted patrol vessel discovered in Shandong together with its anchor (inscribed 1372) and cannon (inscribed 1377).
Considering that Chinese ships armed with gunpowder weapons, including cannon, visited the region regularly from the 1200s to the 1400s