How did fuedalism lead to military rule in Japan

A. The emperor created rules that enforced the code known as bushido
B. The national military overthrew the emperor and created military laws
C. The shogun became more powerful than the emperor and ran the government
D. The samurai supported the national military and allowed the military to create rules