Probably ultimately from Latin castra (“military camp”).
Ćwicz mówienie i zapamiętywanie " Castro " i wielu innych słów i zdań z hiszpański .