Original: The Spanish undertook the construction of a new city on the foundations of the old Inca city, replacing temples with churches and palaces with mansions for the conquerors.
Simplified: The Spanish made a new city on the foundations of the old Inca city, replacing Incan temples with churches and palaces for the Spanish.