In the 15th -16th centuries when Tashkent gained the status of a great Central Asian city and a new architectural ensemble arose in its center. It is the area of present–day Chorsu Square and the Old City market. A monumental Friday mosque (the Djuma-mosque) and the Khadja Ahrar madrasah were originally built here in the middle of the 15th century. The construction of these two buildings as well as the Sheyhantahur mausoleum are attributed to the activity of Khadja Ahrar who came from a mountain village called Bogustan near Tashkent. In Tashkent he gained fame as an outstanding Sufi sheikh. After that he moved to Samarkand and became a spiritual teacher for Temurid rulers. The Djuma-mosque of Khadja Ahrar was the main mosque in Tashkent for centuries. It is rectangular in shape with a large dome building at the edge of the longitudinal axis, east-west. The mosque was repeatedly reconstructed between the 16th and 20th centuries. The madrasah of Khadja Ahrar does not exist now. In the Soviet period its bricks were used to repair the Djuma-mosque.