The basis of the law really varies depending on what it is. These days, you mainly see alienation of affection related to children. This would be called parental alienation. And so, the legal basis would be family law.