From Ottoman Turkish صوفیه (Sofya), from Middle Bulgarian Со́фия (Sófija), ultimately from Ancient Greek σοφία (sophía, “wisdom, divine wisdom”).
Sofya