A California bill that would have ended gay conversion therapy by declaring it fraudulent was dropped, after an outcry from the religious community. Assembly Bill 2943 would have effectively made it illegal to sell any service that would try to change an individual’s sexuality or gender identity.

The measure was super-close to becoming law. It had already been passed by the Assembly and Senate and was just one vote away from the governor’s desk.

Assemblyman Evan Low said that after a meeting with faith leaders, he hopes to change the bill to something he feels more comfortable with.

“I left those productive conversations feeling hopeful. I believe every person who attended these meetings left with a greater understanding for the underlying reason and intention of this bill to create a loving and inclusive environment for all,” the Campbell Democrat said in a statement. “However, I believe there is still more to learn.”