Take a look back at the history of interracial and same-sex marriages

Jim Obergefell, the named plaintiff in the Obergefell v. Hodges Supreme Court case that legalized same sex marriage nationwide, center, stands on the steps of the Texas Capitol, Monday, June 29, 2015, in Austin, Texas.

Eric Gay / Eric Gay

The House and Senate have passed the Respect for Marriage Act, granting another layer of federal protections to both same-sex and interracial marriages.

It will now go to President Biden, who is expected to sign it. Both types of marriages have already been deemed constitutional on a national scale, but the Respect for Marriage Act was drafted soon after the reversal of Roe v. Wade, amid fears that other constitutional rights would be targeted.

Here’s a look at some of the legal precedents surrounding interracial and same-sex marriages.