From Spanish alcázar, from Arabic القصر (al-qaṣr, "the castle"), itself from Latin castellum .