CPM leader and former Mahe Municipal Councillor Babu, 42, was waylaid by a group of eight people, stated to be RSS and BJP workers, and hacked at Palloor in Mahe, an enclave of union territory of Puducherry, around 9 pm yesterday, police said.
Babu suffered serious injuries and died on the way to a hospital, they said.
In an apparent retaliatory attack, 40-year old BJP worker Shemaj, an autorickshaw driver, was pulled out of his vehicle and hacked to death by a six-member gang at New Mahe within 30 minutes of the killing of Babu.
Police said the identity of the assailants in this incident was under investigation.
Both the attacks were due to political vendetta, they added.
Mahe, a former French colony, is located between Thalassery in Kannur district and Vadakara in Kozhikode district. New Mahe comes under Kannur district.
The killings shattered the four-month long lull in political violence involving workers of ruling CPM and BJP and RSS workers in the politically-sensitive Kannur region.
In January this year, the LDF government initiated several rounds of peace talks with leaders of various political parties, including the CPM, BJP and the Congress resulting in the lull in the cycle of violence.
State Governor P Sathasivam had then voiced concern over the recurring violence and wanted the political leadership in the state to sit together and persuade their cadres to choose the path of peace.
With the twin murders last night, both Kerala and Puducherry police have deployed several personnel in the area as a precautionary step to prevent any further outbreak of violence.