A man charged with adultery who married Teresa Lopez in court and pleaded guilty.