A man who shot a Lombard police officer will spend decades in prison.