What a moron for admitting it.
He may be trying to be honest with you for admitting his past mistakes but I always found that once a cheater, always a cheater. This is one red flag that I would not ignore especially since he was cheating with her for 5 months. It's not like it was a one night fling.
So if I were you I would breakup with him.
Enough said