The man was in jail for the last 4 years and was charged under the Jammu Kashmir Public Safety Act, 1978 that allows the state to detain a person without trial for at least 6 months.