Complex sentence: It was house of Taulichusco, the ruler of the Rimac Valley during that period, and was also the location where General José de San Martín declared the Independence of Peru on 28 July 1821.
Split into simpler sentences: It was house of Taulichusco, the ruler of the Rimac Valley during that time period. This was also the location where the General José de San Martín declared the Independence of Peru on 28 July 1821.