Which Han leader ended the practice of using Legalism as a philosophy of government?

Wudi
Lü Zhi
Liu Bang
Confucius