Input (grade 7): It was the capital of Kazakhstan (and its predecessor, the Kazakh SSR) from 1929 to 1998.
Output (grade 4): It was the capital of Kazakhstan from 1929 to 1998.