A relative by marriage (or through affinity).
Sometimes specifically a parent-in-law of one's child, for which the dedicated terms co-mother-in-law, co-father-in-law are rare.