A muti-source essay

If you were a judge and had a chance to give an offender an alternative to jail/prison time, would you consider the seriousness of their offense, or their prior record first? Why?