the court sentenced him to 6 months imprisonment