Your womb takes about 6-8 weeks to contract, and this happens more intensely when breastfeeding or pumping, so the soreness can definitely last longer than 5 weeks. Hang in there! It gets better!
Do consult your gynaecologist if you still experience soreness a week later or if you feel any pain...