Sung dynasty managed weapons production through the Armaments Section of the Salt and Iron Monopoly Bureau of the State Finance Commission, which was in charge of financial administration. The use of gunpowder weapons increased during the middle and late periods of the Southern Sung. The Sung did not usually establish specialized organs for military logistics; for the most part the various administrative levels of the government were responsible for logistics and supply during times of both peace and war. At the start of the Southern Sung the most pressing task for the court was the reorganization of military forces for resisting the Chin armies. In examining the course of the Sung-Chin war it becomes clear that between 1127 and 1128 the Chin armies had only occupied between ten and twenty prefectures and military prefectures; not even the transportation and communication lines leading to the Yellow River were controlled by the Chin.