Acceptance of same-sex marriage and relationships in the U.S. has flattened after more than two decades of steadily increasing support, with an ongoing decline among Republicans, according to a new Gallup poll.

About 65% of U.S. adults believe same-sex marriage should be legal, down slightly from 71% in 2022 and 2023.

Most of the change is due to dropping acceptance among Republicans. In the new survey, which was conducted in May, only 37% of Republicans say same-sex marriage should be legally valid, while 35% say gay and lesbian relations are “morally acceptable.”

The views of Democrats and independents are largely stable in the findings released Wednesday, with most in both groups saying same-sex marriage should be legal and that gay or lesbian relations are moral.

The widening partisan divide is also reflected in policy around LGBTQ+ issues across the U.S., particularly regarding transgender people, and a rising push in some states to ban same-sex marriage.