After the Albigensian Crusade ended in 1229, the subsequent Papal inquisition of Pope Gregory IX imposed the ecclesiastical penance of the Cathar yellow cross as a badge of shame to be worn by the remaining repentant Cathars convicted of heresy.