Ian Samuel, a former co-host of the now-defunct “First Mondays” podcast about the Supreme Court, has resigned from his Indiana University law school faculty position now that a Title IX investigation of allegations against him has ended.

Samuel posted his resignation letter to the university on Twitter on Friday, acknowledging the allegations and recognizing those who complained.

“The allegations in this case describe me drinking to excess in a public place I shouldn’t have been, in company I shouldn’t have kept, and treating the people present in ways they didn’t deserve,” he said in the letter.

The night in question was “the clearest sign yet of a problem that had been growing for some time,” and that the investigation had the side effect of saving his life because he was becoming “an ugly man.”

“So I’d be a real ingrate if I felt anything other than admiration and gratitude for the complainants’ integrity in this case,” Samuel said.

Details of the allegations were not revealed, nor was there any additional information about the conclusion of the investigation. Under Title IX of the 1972 Education Amendments, an “education program or activity” receiving federal funds can’t engage in sex harassment or discrimination.

Samuel clerked for the late Supreme Court Justice Antonin Scalia but has espoused progressive views, including his proposal to “pack” the high court as a way to “fight back” against “right wing dominance of the court.”

He was placed on leave in December, pending the investigation. At that time, he voluntarily admitted himself to a hospital.

Samuel declined comment on his resignation.

Indiana University confirmed in a statement that the investigation was completed, that Samuel had resigned, and no longer would be a faculty member at the Maurer School of Law or the university after Friday.

“IU appreciates Professor Samuel’s cooperation and acknowledgement of his misconduct,” the statement said.

—With assistance from Patrick Gregory