The main building is considered as a palace with residential quarters, ceremonial halls with ceilings supported by multiple columns and a fire temple, luxuriously decorated with wall paintings. This building seems to have been the residence of a feudal lord loyal to the Khorezmshah. The building was built in the 4th century CE and destroyed by two separate fires. The palace was in use during the 6th and 7th cent CE as a domestic dwelling. A vast urban complex of buildings was located at the feet of the fortress.
