The main aim of the principal offence algorithm is to act as a tool which identifies the (one) most serious offence at a specified stage in the criminal justice process (e.g. arrest, charge, prosecution decision, disposal and sentence) for a defendant, or for a case.