How did the Qin dynasty lose the Mandate of Heaven?

A.
through invasions by nomadic herdsmen the emperor's army couldn't defend against

B.
through natural disasters the government was unable to cope with

C.
through famine caused by many years of drought

D.
through uprisings caused by the harsh policies of Legalism

D. through uprisings caused by the harsh policies of Legalism