Section 379(2) in Andhra Pradesh Municipalities Act, 1965
(2)No person arrested under sub-section (1) shall be detained in custody(a)after his true name and address are ascertained, or(b)without the order of a magistrate for any longer time, not exceeding twenty-four hours from the hour of arrest than is necessary for bringing him before a magistrate.