thus his military career was ruined