the stepped pyramids of the mighty had been spared the worst of the ravages , but the humbler parts of the city had been given over to an orgy of looting and killing as the city 's slaves rose up and the starving hordes who had followed her from yunkai and astapor poured through the broken gates .