structural:scholar_edition
Tang dynasty

In the Tang dynasty, Bai Juyi, a renowned poet, was appointed governor of Hangzhou. He noticed that the farmland nearby depended on the water of West Lake, but due to negligence the old dyke had collapsed, and the lake so dried out that the local farmers were suffering from severe drought. He ordered the construction of a stronger and taller dyke, with a dam to control the flow of water, mitigating the drought problem. The livelihood of local people of Hangzhou improved over the following years. Bai Juyi used his leisure time to enjoy the West Lake, visiting it almost daily. He then had willows and other trees planted along the dyke, making it a landmark.

It is listed as one of the Seven Ancient Capitals of China. It was first the capital of the Wuyue Kingdom from 907 to 978 during the Five Dynasties and Ten Kingdoms period. Named Xifu (西府) at the time, it was one of the three great bastions of culture in southern China during the tenth century, along with Nanjing and Chengdu. Leaders of Wuyue were noted patrons of the arts, particularly of Buddhist temple architecture and artwork. The dyke built to protect the city by King Qian Liu gave the Qiantang its modern name. Hangzhou also became a cosmopolitan center, drawing scholars from throughout China and conducting diplomacy with neighboring Chinese states, and also with Japan, Goryeo, and the Khitan Liao dynasty.