A former CIA analyst was sentenced to three years and one month in prison for transmitting sensitive data.