A former judge in Arkansas was sentenced to five years in prison for dismissing pending cases in exchange for personal and sexual acts from young men, court documents and a Department of Justice statement said.

O. Joseph Boeckmann, Jr., 72, pleaded guilty last year to charges of wire fraud and witness tampering. Judge Kristine G. Baker of the Eastern District of Arkansas sentenced him on Wednesday to five years in prison, even though prosecutors had recommended just over three years, after hearing the testimony of two of his victims.

The prosecutors’ sentencing memorandum described Judge Boeckmann as a “predator who used his position as a judge to gain access to vulnerable young men in order to satisfy his own prurient desires.”

“He dangled their case dismissals in front of them while making them do his bidding,” the memo said. “He posed them in embarrassing positions; positions that he found sexually gratifying.”