Demokratiska framstegspartiet återfick sin styrka i lokala val medan Kuomintang behöll sin bas i Taipei och New Taipei City.