The Qin dynasty was the first imperial dynasty of China. It is named for its progenitor state of Qin, a fief of the confederal Zhou dynasty (c. 1046 – 256 BC). Beginning in 230 BC, the Qin under King Ying Zheng engaged in a series of wars conquering each of the rival states that had previously pledged fealty to the Zhou. This culminated in 221 BC with the successful unification of China under Qin, which then assumed an imperial prerogative – with Ying Zheng declaring himself to be Qin Shi Huang, the first emperor of China, and bringing an end to the Warring States period (c. 475 – 221 BC). This state of affairs lasted until 206 BC, when the dynasty collapsed in the years following Qin Shi Huang's death. The Qin dynasty's 14-year existence was the shortest of any major dynasty in Chinese history, with only two emperors. However, the succeeding Han dynasty (202 BC – 220 AD) largely continued the military and administrative practices instituted by the Qin; as a result, the Qin have been credited as the originators of the Chinese imperial system that would endure in some form until the Xinhai Revolution in 1911.
Qin was a minor power for the first several centuries of its existence; its strength greatly increased in the 4th century BC, in large part owing to the administrative and military reforms of Shang Yang. They sought to create a strong, centralised state and a large army supported by a stable economy, which were developed in the Qin homeland and implemented across China following its unification. Reforms included the standardisation of currency, weights, measures, and the writing system, along with innovations in weaponry, transportation and military tactics. The central government sought to undercut aristocrats and landowners and administer the peasantry directly, who comprised the vast majority of the population. This enabled numerous large-scale construction projects involving the labour of hundreds of thousands of peasants and convicts – which included the connection of walls along the northern border into what would eventually become the Great Wall of China, a large national road system, and the city-sized Mausoleum of Qin Shi Huang guarded by the life-sized Terracotta Army. The state possessed an unprecedented capacity to transform the environment through the management of people and land; as a result, Qin's rise has been characterised as one of the most important events in East Asian environmental history.
When Qin Shi Huang died in 210 BC, two of his advisors placed an heir on the throne in an attempt to exert control over the dynasty and wield state power. These advisors squabbled among themselves, resulting in both of their deaths and that of the second Qin emperor. Popular revolt broke out, and the weakened empire soon fell to Chu generals Xiang Yu and Liu Bang, the latter of whom founded the Han dynasty.