Section 134(ii) in The Indo-Tibetan Border Police Force Act, 1992
(ii)the period of detention or confinement, if any, undergone by an accused person, during the investigation, inquiry or trial of the case in which he is sentenced and before the date on which the original proceedings were signed shall be set off against the term of his sentence and the liability of such person to undergo imprisonment shall be restricted to the remainder, if any of the term of his sentence.