Section 18(1)(b) in The Jammu And Kashmir Public Safety Act, 1978
(b)six months in the first instance which may be extneded up to two years from the date of detention in the case of persons acting in any manner prejudicial to the security of the State.