When was Nanjing made a capital again?
The city of Nanjing was razed after the Sui dynasty took over it. It renamed Shengzhou (昇州) in Tang dynasty and resuscitated during the late Tang. It was chosen as the capital and called Jinling (金陵) during the Southern Tang (937–976), a state that succeeded Wu state. It renamed Jiangning (江寧) in Northern Song dynasty and renamed Jiankang in Southern Song dynasty. Jiankang's textile industry burgeoned and thrived during the Song dynasty despite the constant threat of foreign invasions from the north by the Jurchen-led Jin dynasty. The court of Da Chu, a short-lived puppet state established by the Jurchens, and the court of Song were once in the city. Song was eventually exterminated by the Mongol empire under the name Yuan and in Yuan dynasty the city's status as a hub of the textile industry was further consolidated.