He was detained in February last year in connection with an attack on a police camp in Rampur that left seven paramilitaries and one civilian dead.