Shaktimaan, the police horse, who got his left hind leg amputated after being allegedly attacked by BJP MLA Ganesh Joshi, passed away on Wednesday. The horse was reportedly undergoing treatment in Dehradun.

"Shaktiman was injured on March 14 after which we had to operate on him. He was later fitted with an artificial leg. But he was unable to fully recover from an infection," SSP Dehradun Sadanand Date said.

The 13-year-old was given a prosthetic leg and was confined to the police lines. It was a well trained horse and part of Uttarakhand Mounted Police for years.

"The horse passed away at 5.30 PM. He was suffering from medical-related complications. The exact cause will be known only after post-mortem," IG Garhwal Sanjay Gunjyal said.

(Related read: Shaktimaan the horse to get a 'leg' to stand on from USA)

Last month, the injured horse was donated with a prosthetic limb by a US-based NGO, 'Maya Foundation'.

Police horse 'Shaktimaan' which was injured during a BJP protest in Dehradun, passes away, Harish Rawat pays tribute pic.twitter.com/fk3TOYD7QB — ANI (@ANI_news) April 20, 2016

Uttarakhand CM Harish Rawat said, "I am shocked, can't express my feeling in words,we all thought Shaktimaan was recovering well."

Congress leader Randeep Singh Surjewala said, "Like Modi ji murdered democracy, a BJP MLA made fatal attack on Shaktimaan. Unfortunate."

BJP leader Ajay Bhatt said, "Saddened, state government is to be blamed for Shaktiman's death, the medical treatment was inadequate."

Saddened.The State Govt is to be blamed for Shaktimaan's death,the medical treatment was inadequate-Ajay Bhatt,BJP pic.twitter.com/9bcTr0ze2K — ANI (@ANI_news) April 20, 2016

The Dehradun Police had registered a case against Ganesh Joshi for beating the police horse, and breaking one of its legs, during a protest against Uttarakhand Chief Minister Harish Rawat on Monday for "misuse" of funds.