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 .
Aside from palaces and mosques , they also built luxurious public bathhouses in Cairo .