A fifth Australian state has made voluntary euthanasia legal, more than 20 years after the country repealed the world's first mercy-killing law for the terminally ill.
Queensland's parliament passed the law, with 61 of the state's 93 members voting in favour.
New South Wales, the nation's most populous state, is now the only state that does not allow assisted suicide.
The Northern Territory and Australian Capital Territory do not have the same rights as states and the federal parliament has barred them from making such laws.
Queensland's law, which takes effect in January 2023, allows people suffering from a disease or medical condition that is advanced, progressive and terminal to have access to so-called voluntary assisted dying.
Their condition must be expected to cause death within a year, they must have decision-making capacity, and proceed without coercion.
Deputy premier Steven Miles said the law would ease pain and suffering.
"It has been a very considered debate and ... it's been a very difficult debate," Mr Miles told the parliament.
Opponents argued that due to a funding shortfall for palliative care, the law would put pressure on some patients to end their lives.
"Will this government provide a guarantee that people will get access to quality integrated palliative care services wherever they live in Queensland, when they have a terminal diagnosis, and not just in the last few months of life?" opposition member Fiona Simpson said.
But Mr Miles said palliative care and voluntary assisted dying were complementary policies which gave more options to terminally ill people.
In 1995, the sparsely populated Northern Territory became the first jurisdiction in the world to legalise doctor-assisted suicide for terminally ill patients.
But the Australian parliament overturned that law in 1997 after four people had been helped to die.
The federal parliament does not have the same power over the six states, and Victoria became the first to legalise assisted suicide in June 2019.
New South Wales' parliament rejected a doctor-assisted suicide bill by a single vote two weeks before the Victorian law was passed.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here