Presiding judge Samir Vinodchandra Vyas said the 22-year-old's actions were "very disappointing" and sentenced him to life in prison after concluding that cow slaughter was the source of countless global problems.

"Every problem in the world will be solved on the day not a single drop of cow's blood falls on the ground," said a copy of his ruling, made in late November but only published late last week.

"It has been proved by science that even atomic radiation cannot affect houses made out of cow dung. Drinking cow urine can cure many incurable diseases."

Hindu nationalist groups in India are vocal advocates of cow protection, campaigning against cattle slaughter with government support, and occasionally with deadly consequences.

"Cow vigilantes" have in recent years run Muslim-owned abattoirs out of business and lynched people accused of involvement in cattle slaughter.

But bovine-centric religious policies have led to unintended consequences, with stray cows no longer able to give milk or help plough fields now a common sight in villages and even on busy roads in big cities.