 Khiva is split into two parts.The outer town, called Dichan Kala, was formerly protected by a wall with 11 gates.The inner town, or Itchan Kala, is encircled by brick walls, whose foundations are believed to have been laid in the 10th century.