In 1870, war broke out between France and Germany, and France was invaded. The idea took hold that the ordeals incurred by France were due to its spiritual faults rather than only political ones. This gave birth to the construction of a basilica dedicated to the Sacred Heart of Jesus.