From 1936 (since the formation of the Kazakh SSR), Alma-Ata was the capital of first the Kazakh SSR, then it became capital of independent Kazakhstan.
С 1936 года (с момента образования Казахской ССР) Алма-Ата была столицей сначала Казахской ССР, а затем и независимого Казахстана.