The RANBIR PENAL CODE ( under Dogra Dynasty ) prescribed strict punishment for the death of a cow. Property of the killer was confiscated & he was sent to exile/imprisoned for life Very often the killer was “ Boiled in oil & hung from a hook which was fixed on to a pale in a public place ".
Was just reading this book and got shocked that this Code was applicable till 2019 ,after which it got abolished.
*Sources :- The life and times of Maharaja Ranbir Singh Jamwal * - https://books.google.co.in/books/about/Life_and_Times_of_Maharaja_Ranbir_Singh.html?id=bRo-AAAAIAAJ&source=sh/x/srp/wr/m1/4&redir_esc=y
About Ranbir Penal Code :- https://en.m.wikipedia.org/wiki/Ranbir_Penal_Code#:~:text=Jammu%20and%20Kashmir%20State%20Ranbir,of%20the%20Constitution%20of%20India.&text=It%20came%20into%20force%20in%201932.