The young princess met an old woman who told her that she could break the spell by weaving nettle jackets for her brothers. After weaving the jackets and putting them on her brothers, the spell was broken and they were permanently human again.