Piety and politics in the century of lights