Australia is a step closer to legalising same-sex marriage after lawmakers passed a bill in the Senate.
The upper house bill will now be debated in the House of Representatives, where if approved it will become law.
It follows a historic national vote that showed a majority of Australians support changing the Marriage Act.
Senators passed the bill 43-12 on Wednesday, after rejecting proposed amendments by conservative lawmakers.
Attorney-general George Brandis, the government's Senate leader, said the legislation would ‘demolish the last significant bastion of legal discrimination’ concerning sexuality.
‘By passing this bill, we are saying to those vulnerable young people there is nothing wrong with you. You are not unusual. You are not abnormal. You are just you,’ he said on Tuesday, when the main debate took place.
The bill allows exemptions for those classed as ‘religious marriage celebrants’ who do not want to perform same-sex ceremonies on the basis of their faith.
Some government senators had tried to extend the exemptions to include civil celebrants, but that push was voted down.
A conservative amendment to create two definitions of marriage - one between a ‘man and a woman’ and another between ‘two people’ - was also rejected, as was one allowing parents to remove their children from schools over same-sex marriage teachings.
The bill drew heartfelt speeches from many senators after it was introduced by government senator Dean Smith with broad cross-party support.
The legislation was tabled hours after a non-binding national poll showed that 61.6 per cent of Australian voters were in favour of change.
Brandis said legalising same-sex marriage would be the ‘imperishable legacy’ of prime minister Malcolm Turnbull's government.
Opposition parties have previously accused the government of delaying parliamentary debate on the legislation so it could hold the national survey.
The debate in the House of Representatives will begin next week. The government has said the house will not adjourn until the legislation is passed.
Want stories like this in your inbox?
Sign up to exclusive daily email
More Stories from Oceania