The Han Dynasty was China's first empire. It had control of vast territories and had the manpower and resources to sustain a powerful empire. The uniformed legal code was effect but not as harsh as the Qin Dynasty. Its government was an effective bureaucracy with a powerful military and built great public works