The Song political system a. dissolved its entire military structure to save money for trading activities. b. was run by a female emperor during the late Yuan dynasty. c. developed the equivalent of a modern cabinet within its Department of State Affairs. d. restored Legalism as its supporting official philosophy. e. was able to solve the problem of nomadic invasions by using its new fire-lance to exterminate nomadic cavalry.