Ruling party wins landslide in pivotal local elections