Former paramilitary sentenced to 22 years