 He died in 1589.The mosque is built on a sloping site that is higher on the eastern side.To create a level surface the western side of the building rests on a vaulted substructure that accommodates a series of shops.