Kazakh was written with the Arabic script during the 19th century, when a number of poets, educated in Islamic schools, incited revolt against Russia.
Kazakh is a state (official) language in Kazakhstan.