Surprisingly one of the forces for secularisation was Christianity itself. As soon as it accepted the idea of a contrary opinion, the moment that European opinion decided for toleration, it decided for eventual free marketing opinion.
Ibn Warraq