In the English common law tradition, from which our legal doctrines and concepts have developed, a marriage was a contract based upon a voluntary private agreement by a man and a woman to become husband and wife. Marriage was viewed as the basis of the family unit and vital to the preservation of morals and civilization. Traditionally, the husband had a duty to provide a safe house, pay for necessities such as food and clothing, and live in the house. The wife's obligations were maintaining a home, living in the home, having sexual relations with her husband, and rearing the couple's children. Today the underlying concept that marriage is a legal contract still remains but due to changes in society the legal obligations are not the same.
Marriage is chiefly regulated by the states. The Supreme Court has held that states are permitted to reasonably regulate the institution by prescribing who is allowed to marry, and how the marriage can be dissolved. Entering into a marriage changes the legal status of both parties and gives both husband and wife new rights and obligations. One power that the states do not have, however, is that of prohibiting marriage in the absence of a valid reason. For example, prohibiting interracial marriage is not allowed for lack of a valid reason and because it was deemed to violate the Equal Protection Clause of the Constitution.