Both the New South Wales government and opposition have pledged to support legislation banning gay conversion practices in the state.
Independent MP Alex Greenwich has drafted a bill to ban conversion practices and welcomed the bipartisanship on the issue.
"Today is a good day for New South Wales," Mr Greenwich said.
"We have the leaders of both major parties saying if you are LGBT there is nothing wrong with you, you are supported and you are celebrated."
Premier Dominic Perrottet today pledged "in principle" support for the legislation.
"There is no room for any harmful practices in NSW, particularly if they affect our young and vulnerable," Mr Perrottet said.
But he said any bill that comes before the next parliament will have to be carefully assessed.
"This is a complex matter and in working through it with parliamentary colleagues we will carefully consider the legal expression and effect of such laws."
The premier's pledge follows a commitment from Labor to ban gay conversion practices if it wins the state election on March 25.
"Conversion therapy is a dangerous and damaging practice and there's no room for it in New South Wales" Opposition Leader Chris Minns said on Saturday.
"We should not have a situation where children are being told something is wrong with them and that they need to be fixed."
Mr Greenwich is among a group of Independent MPs whose support is likely to be crucial in the event of a minority government.
And he has made it clear that his support for either party will be contingent on them backing his Conversion Practices Prohibition Bill.
Gay conversion practices can range from ongoing or sustained pressure from a church or religious figure to suppress one's sexuality, to religious rituals like exorcisms and psychiatric or psychological "treatments" and aversion tactics.
The bill will include "extraterritorial" powers to prosecute people if they send children or adults overseas for "treatment".
And Mr Greenwich said it will still allow for freedom of religious expression.
"We are not in any way trying to impede what is said in prayer or in a church," he said.
"This legislation is about stamping out a really cruel form of torture that targets the LGBT community."