From Russian казак (kazak), коза́к (kozák), from Turkic.
kosak c (singular definite kosakken, plural indefinite kosakker)