How were the philosophes of Confucianism and legalism used to develop an empire?

A. They were used to unite and strengthen the state of china

B. they were used to start wars between the states

C. they were used to change how people grew food

D. they were used to attack other empires