Two points - first, if he was separated but still married, it is still an affair. Second, it appears the woman involved was also married.
I'm glad he and his wife apparently worked it out, but this will still cause political headaches.
we do not know if he knew she was married.