The Supreme Court ruled that the 24-hour custody limit under Article 22(2) starts when liberty is curtailed, not when arrest papers are drawn up, and ordered release in a Tripura NDPS case. SC made clear that the 24-hour deadline is sacrosanct and even a person detained for search and seizure must be produced before a magistrate within that period.