It wis the caipital o the Kazakh SSR an its successor Kazakhstan frae 1929 tae 1997. Despite losin its status as the caipital tae Astana in 1997, Almaty remains the major commercial center o Kazakhstan. It is locatit in soothren Kazakhstan, near the border wi Kyrgyzstan.