The name Zhili means "directly ruled" and indicates regions directly ruled by the imperial government of China. Zhili province was first constituted during the Ming Dynasty when the capital of China was located at Nanjing along the Yangtze River. In 1403, the Ming Yongle Emperor relocated the capital to Beiping, which was subsequently renamed Beijing. The region known as North Zhili was composed of parts of the modern provinces of Hebei, Henan, Shandong, including the provincial-level municipalities of Beijing and Tianjin. There was another region located around the "reserve capital" Nanjing known as South Zhili that included parts of what are today the provinces of Jiangsu and Anhui, including the provincial-level municipality of Shanghai.