
Napoleon Bonaparte had a somewhat complex religious history in a traditionally Catholic country like France. For most of his life, he was more of a deist. He did know how to be a friend to the Catholic church, but he did help eliminate earlier restrictions upon Jews and Protestants. He also ended the Spanish Inquistion.
There was a strong anti-clerical movement in revolutionary France and afterwards.