Most Republicans in the U.S. House of Representatives voted against the Democrats’ Respect for Marriage Act, a bill that protects current same-sex marriages and partially codifies same-sex marriage into law, but does not make the right to marry for same-sex couples the law of the land.

The bill passed 267-157, with 47 Republicans joining Democrats to protect marriage. No Democrats voted no. Among the Republicans voting yes were Reps.

Liz Cheney and Adam Kinzinger. The bill was drafted after the U.S. Supreme Court overturned Roe v. Wade last month, which had made the right to abortion the law of the land.