Question: who was the head of the soviet union when it collapsed
Answer: On the previous day , Soviet President Mikhail Gorbachev , the eighth and final leader of the Soviet Union , resigned , declared his office extinct , and handed over its powers -- including control of the Soviet nuclear missile launching codes -- to Russian President Boris Yeltsin .