Rajasthan chief minister Vasundhara Raje has decided to withdraw a controversial bill that that sought to protect both serving and former judges, magistrates and public servants in the state from being investigated for on-duty action without its prior sanction.