楊諒
In 1787, the city wall was broken through during the Lin Shuang-wen Rebellion. The wall was destroyed by the rebels. At the time, the local officials thought the walled city was an unlucky place, therefore decided to move the county seat to Pitouchieh (埤頭街; present-day Fongshan District). However, the move of the county seat did not stop invasions. In 1805, Tsai Chien (蔡牽), who claimed to be the "Sea-calming Majestic King" (鎮海威武王), led a rebellion and still broke into the walled city. The government planned to move the city back to Hsinglungchuang in 1807, but it was not financially possible. Until 1824, when Yang Liang-bin led a rebellion and the residents were extremely panicked. As a result, the government collected donations from peasants as well as government officials and put together about 140,000 silver yuans (of which three-fourths were contributed by the civilians). The construction started in 1825 and a whole new stone wall was completely built in 1826. At the time, it was one of the most advanced city wall in Taiwan.