It used to be the Inka temple of the sun, but the spanish tore it down and put up a catholic church on the foundation.