The typical divorce case in which there is a third spouse committed adultery with would be named in the case as a co-respondent.
See also Alienation of Affection, Heart Balm Laws.