WATERLOO — A Cedar Rapids man has been sentenced to prison in connection with a handgun found during a traffic stop in Waterloo in 2024.