(j) the prospect of rehabilitation of the offender.
3. In addition, in determining whether a sentence under Division 2 or 3 of Part 2 is appropriate, the court must have regard to the nature and severity of the conditions that may be imposed on, or may apply to, the offender under that sentence.
4. The matters to be taken into account by a court under this section are in addition to any other matters that are required or permitted to be taken into account by the court under this Act or any other law.
5. This section does not apply to the determination of a sentence if proceedings (other than committal proceedings) for the offence were commenced in a court before the commencement of this section."
4 Section 21A now provides:-
"1. General
In determining the appropriate sentence for an offence, the court is to take into account the following matters:-
(a) the aggravating factors referred to in subsection (2) that are relevant and known to the court,
(b) the mitigating factors referred to in subsection (3) that are relevant and known to the court,
(c) any other objective or subjective factor that affects the relative seriousness of the offence.
The matters referred to in this subsection are in addition to any other matters that are required or permitted to be taken into account by the court under any Act or rule of law.
2. Aggravating factors
The aggravating factors to be taken into account in determining the appropriate sentence for an offence are as follows:-
(a) the victim was a police officer, emergency services worker, correctional officer, judicial officer, health worker, teacher, community worker, or other public official, exercising public or community functions and the offence arose because of the victim's occupation,
(b) the offence involved the actual or threatened use of violence,
(c) the offence involved the actual or threatened use of a weapon,
(d) the offender has a record of previous convictions,
(e) the offence was committed in company,
(f) the offence involved gratuitous cruelty,
(g) the injury, emotional harm, loss or damage caused by the offence was substantial,
(h) the offence was motivated by hatred for or prejudice against a group of people to which the offender believed the victim belonged (such as people of a particular religion, racial or ethnic origin, language, sexual orientation or age, or having a particular disability),
(i) the offence was committed without regard for public safety,
(j) the offence was committed while the offender was on conditional liberty in relation to an offence or alleged offence,
(k) the offender abused a position of trust or authority in relation to the victim,
(l) the victim was vulnerable, for example, because the victim was very young or very old or had a disability, or because of the victim's occupation (such as a taxi driver, bank teller or service station attendant),
(m) the offence involved multiple victims or a series of criminal acts,
(n) the offence was part of a planned or organised criminal activity.
The court is not to have additional regard to any such aggravating factor in sentencing if it is an element of the offence.