Ronald W. Pelton was a National Security Agency analyst who was convicted in 1986 of selling secrets to the Soviets during the Cold War. An Air Force veteran with expertise in Soviet communications, he approached officials at the Soviet embassy in 1980 with offerings to exchange NSA operations information for monetary payments. Mr. Pelton was arrested in November 1985 and charged with three counts of espionage, one count of conspiracy and one count of the unauthorized disclosure of classified communications information. He was convicted a year later on all charges except one count of espionage and was sentenced to three life sentences, plus an additional 10 years. He remained in prison for nearly three decades and was released to a halfway house and then home confinement before his sentence expired in 2015.
(From: https://www.washingtonpost.com/obituaries/2022/09/16/ronald-pelton-nsa-spy-dead/)