The military history of the Five Dynasties and Ten Kingdoms covers the period of Chinese history from the collapse of the Tang dynasty in 907 to the demise of Northern Han in 979. This period of Chinese history is noteworthy for the introduction of gunpowder weapons and as a transitional phase from the aristocratic imperial system to the Confucian bureaucracy which characterized the Song, Ming, and Qing dynasties.