A top political opponent of Indian Prime Minister Narendra Modi was granted bail on Friday after months behind bars on accusations his party took kickbacks in exchange for liquor licences. Arvind Kejriwal, chief minister of the capital Delhi and a key leader in an opposition alliance that battled Modi in national elections earlier this year, was first detained in March over the long-running corruption probe. He is among several opposition leaders, with one of his colleagues describing his arrest at the time as a “political conspiracy” orchestrated by Modi’s ruling Bharatiya Janata Party (BJP). A two-judge bench of the Supreme Court ruled that Kejriwal’s arrest was lawful but that he should be released from custody while contesting the charges against him. “Prolonged incarceration amounts to unjust deprivation of liberty,” Supreme Court justice Surya Kant said in a verdict granting bail to Delhi chief minister Arvind Kejriwal. Kejriwal had earlier been freed by the same court for several weeks to allow him to campaign in this year’s general election, but returned to custody once voting concluded. His government was accused of corruption when it implemented a policy to liberalise the sale of liquor in the capital three years ago, surrendering a lucrative government stake in the sector. The policy was withdrawn the following year, but the resulting probe into the alleged corrupt allocation of licences has since led to the jailing of two top Kejriwal allies. Rallies in support of Kejriwal, who has consistently denied wrongdoing and refused to relinquish his post after his arrest, were held in numerous other big cities around India after he was taken into custody.