Sri Lanka's minister of law and order, Sagala Ratnayake on Thursday warned of strict legal action against anyone inciting communal or religious violence via social media posts.
An increased number of police personnel had been deployed ahead of the election in February, the mnister added.
"The police would act ensuring a free and fair election on instruction by the Elections Commission," Mr Ratnayake said.