Custodial sentences are the most serious type of sentence as the defendant is deprived of their freedom by being put into prison or a young offenders institution
s230 sentencing act 2020 states that the court must not pass a custodial sentence unless it is of the option that the offence… Was so serious that neither a fine alone nor a community sentence can be justified for offence
in other words a custodial sentence should only be imposed if the offender is so serious that only custody is justified
The maximum term is set out in the relevance statute