Marriage and domestic partnership are legal relationships that provide a framework for individuals to formalize…