The Taipei City Walls were constructed in 1884 in Taipeh Prefecture, Taiwan, Qing dynasty. Shortly after the Qing dynasty established Taipei Prefecture in 1875, Prefect Chen Hsing-chü (陳星聚) ordered the foundation of a new prefectural capital with enclosing walls in 1879. However the soil proved too soft to support so heavy a structure, and the project was halted. Subsequently, governor of Fujian Cen Yu-ying (岑毓英) and Taiwan magistrate Liu Ao (劉璈) undertook successive surveys to determine the proper location of the wall's foundations. Craftsmen were recruited for the construction in 1882, and the wall was completed in 1884.