In 1809, Pope Pius VII excommunicated Napoleon for his treatment of the Church and violation of the Concordat. This strained the relationship between Napoleon and the Catholic Church, and was a major factor in the eventual downfall of the Napoleonic regime.