A North Texas attorney charged with prostitution for allegedly offering his legal services in exchange for sex has resigned his law license.

The Texas Supreme Court accepted James W. Keene's resignation in lieu of discipline, which has the same legal impact as disbarment. Keene can't practice law or hold himself out as a lawyer for five years. Afterward, he's eligible to reapply for his law license.

The court documents in the resignation said that in April 2018, Keene "did knowingly offer to another person, for the purpose of engaging in sexual conduct with that person, an offer of a benefit being in the form of rendition of professional services." He was charged on April 4 with prostitution under Texas Penal Code §43.02.