Section 490(2) in Karnataka Municipal Corporations Act, 1976
(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.