Yvette D'Ath via Facebook.

An Australian state changed an old law which forced transgender people to divorce their current partner during their transition.

Queensland officials chose to amend the previous law in a parliamentary meeting, according to The Guardian. People who are transitioning can now apply to change their birth certificate without divorcing their spouse.

“This is not a cost or a consequence any law of this state should impose on members of our community,” the state’s attorney-general Yvette D’Ath said. “It has been unjust and unfair and I’m proud to say this distressing choice will no longer be a requirement in Queensland.”

The law change comes as Queensland reviews some of the more conservative laws from the state’s past.