Former Dallas Mavericks first-round pick and five-year NBA veteran Jim Farmer is in some major trouble with the law.

Now 55 years old, Farmer was arrested in Tennessee late last week in a sex sting operation involving minors.

According to NBC News, investigators in Rutherford County “placed several decoy advertisements on websites known to be linked to commercial sex.” The arrests were then made Thursday and Friday of last week with Farmer being booked for trafficking a person for a commercial sex act.

“Farmer was released on $75,000 bail and his first court appearance is set for Nov. 13. Jail and court records did not list any attorney for Farmer,” the report read.

There’s no further information on the arrest outside of the fact that the sex trafficking operation allegedly included minors. A total of 16 people were arrested.

A star for the Alabama basketball program from 1984-1987, Farmer led the Crimson Tide to one NCAA Tournament appearance — a birth in the Sweet 16 his final season.

After being selected No. 20 overall, Farmer played for the Mavericks, Jazz, Sonics, Sixers and Nuggets in a career that saw him average just 5.3 points per game.