Well, I know being incarcerated isn't great, but four years is manageable. Can you assure him you will keep in touch and visit if possible? And maybe where he will be will have some benefits, such as classes.....
Obviously you can't change waht happened, so try to get on with things in the meantime.