The Bureau of Military Affairs (樞密院) was the central government agency in charge of a state's military forces during the Five Dynasties and Ten Kingdoms period, Liao dynasty, Song dynasty and Yuan dynasty.
References
Bureau of Military Affairs Wikipedia(Text) CC BY-SA