He was jailed for three years after being found guilty of two