The senator's involvement in the scandal revealed a level of turpitude that shocked even his most ardent supporters, who had previously praised his integrity and dedication to public service.
As used in the text, what does the word "turpitude" most nearly mean?