As per Section 167(2) of the Code of Criminal Procedure, an accused can be detained for a maximum of 90 days for a crime punishable with death, life imprisonment or a sentence of over 10 years. If the investigation relates to any other offence, the accused can be detained for 60 days. If the investigative agencies do not complete their investigation within these time limits, the arrested person is entitled to 'default bail'.