China was reunited under the rule of the Han dynasty.
Poetry, literature, and philosophy flourished during the reign of Emperor Wudi (141–86 B.C.). The monumental Shiji (Historical Records) written by Sima Qian (145–80 B.C.) set the standard for later government-sponsored histories. Among many other things, it recorded information about the various peoples, invariably described as "barbarian," who lived on the empire's borders. Wudi also established Confucianism as the basis for correct official and individual conduct and for the educational curriculum. The reliance of the bureaucracy on members of a highly educated class grounded in Confucian writings and other classics defined China's statecraft for many centuries.
Under Wudi, China regained control of territories, first conquered by Qin Shihuangdi, in southern China and the northern part of Vietnam. New commanderies were established in Korea, and contacts were made with the western regions of Central Asia. The conquest of Ferghana and neighboring regions in 101 B.C., which allowed the Han to seize a large number of the "heavenly" long-legged horses valued for cavalry maneuvers, also gave China control of the trade routes running north and south of the Taklamakan Desert. In return for its silk and gold, China received wine, spices, woolen fabrics, grapes,