Former lawmaker gets 22-month sentence for wire fraud