The Ak-mosque (the White-mosque) is located in the ensemble near the Ichan-Kala east gate. Its foundation was placed in 1657, during the reign of the Anush-khan.
Cities were traditionally split into two, isolated one from another as in Khiva: an internal town - Ichan-Kala (the shakhristan), and an external town - Dishan-Kala (the rabad).
The square at east Palvan-Darvaza gate was one of the liveliest places of Khiva. Here, the Anush-khan bathhouse and the single-storeyed building of Khodzam-berdybiya madrasah were constructed as far back as the XVII century.