a mosque was also built and gave it the medina character to this center