During the Taiping rebellion (1850-1864 AD), the rebels let their hair grow while others kept their queues hidden under red turbans. In the Taiping Heavenly Kingdom, the clothing system was based on the clothing of Qing dynasty, but they change the clothing by establishing their own clothing system. The kings and princes of the Heavenly Kingdom were the only people allowed to wear yellow dragon robe. As a result, Ming dynasty style clothing was even retained in some places in China during the Xinhai Revolution in 1911 AD.