In Cairo they built vast palaces and ornate mosques , and expanded the influence of the great Khan el-Khalili market to expand Egypt 's trading power .
They built vast palaces and ornate mosques in Cairo .