he was demoted and imprisoned