During the brief British occupation of Manila in 1762 to 1764, the church served as the British military headquarters, its belfry used as a watchtower against the Spanish defenders.