Cossacks and Kazakhs are mostly two different things (the former being the Tsar’s cavalry), although the former name probably originated with the latter, a Turkic people.
Thanks. Sorry for double post. Phone browser wouldn’t reload.