The Democratic Progressive Party regained strength in local elections while the Kuomintang maintained its base in Taipei and New Taipei City.