Rohtak: An Indian judge sentenced a self-styled "godman", whose followers went on a deadly rampage after he was convicted of rape last week, to 20 years' jail on Monday, but a shoot-to-kill order, curfew and heavy police presence kept protesters at bay.

A spokesman for the Central Bureau of Investigation, which investigated the case, said late on Monday that Gurmeet Ram Rahim Singh would serve two consecutive 10-year-terms for the two rape convictions.

Tens of thousands of police enforced a lockdown in large parts of the northern states of Haryana and Punjab where Singh, 50, has a mass following.

Police in Haryana issued orders to shoot protesters on sight ahead of the sentencing and ordered the hearing to be carried out inside the prison where Singh was being held.