Former New York City mayor also was ordered to pay thousands of dollars for lawyers fees.