California Penal Code Section 825 says that a person arrested in California must be brought before a judge within 48 hours to be charged or released. These rules prevent law enforcement from holding suspects indefinitely while providing sufficient time to collect evidence and decide whether to take the case forward.