With the December Constitution of 1867 at the very latest, the principles of freedom of religion and conscience were firmly enshrined in law, putting an end to the last remnants of practices that had put non-Catholics at a disadvantage. Nevertheless, Catholicism was still de facto the established religion of the state.