Answer
Sergei Korolev was arrested and imprisoned in 1938 during Stalin's Great Purge. He was accused of being a Trotskyite spy and was sentenced to death. However, his sentence was commuted to 10 years in prison. Korolev was released from prison in 1945 and returned to work in the Soviet space program.