The complex contained a Friday mosque, a soup-kitchen (imaret), a madrasa, an elementary school (mektep) and a hospital (darüssifa).[2] The large complex was built in several stages on either side of a narrow street. The mosque was completed in 1538-39 (AH 945), the madrasa was completed a year later in 1539-40 (AH 946) and the soup-kitchen in 1540-41 (AH 947). The hospital was not completed until 1550-51 (AH 957).[2]