A former judge admitted Tuesday to taking thousands of dollars in loans from lawyers to help pay gambling debts and to giving some of her creditors preferential treatment in court.

Deborah A. Neal, 54, who resigned as a municipal judge in Kansas City last year, pleaded guilty to one count of mail fraud for failing to include the loans in an annual income report judges must send to the Missouri Supreme Court.