Complex sentence: The first church was reconstructed twice, first in 1640 as a result of a 1639 Chinese revolt that burned down the church, and again in 1666 after damage from a 1645 earthquake and because of the needs of a growing community in Sampaloc.
Split into simpler sentences: The first church was reconstructed twice, first in 1640 as a result of the 1639 Chinese revolt which burned down the church. The church had to be reconstructed again in 1666 after damage an an earthquake in 1645 and because of the needs of a growing community in Sampaloc.