He faces up to two years in jail.