The Congress-led UDF won Kerala's local body polls, capitalizing on minority vote consolidation and anti-incumbency sentiment against the CPI(M).