The Qin Dynasty unified China under Qin Shi Huang and standardized laws and measurements. The first emperor began constructing the Great Wall and built his massive terra cotta army tomb. The Han Dynasty that followed established a bureaucracy based on Confucian ideals and oversaw centuries of growth in technology, astronomy, medicine, and the arts. The Han assimilated cultures across its expanding empire until rebellions and economic troubles led to its eventual decline.