But he's now been spared jail