Jammu and Kashmir High Court has termed the detention of Kashmiri human rights activist Khurram Parvez, under the Public Safety Act (PSA) as illegal, adding that the government order was not legal and that the “detaining authority has abused its powers”.