WA's voluntary assisted dying bill passed the Legislative Assembly on Tuesday evening with 45 MLA's voting in favour of the legislation and 11 against.
In total, the Legislative Assembly deliberated for 70 hours and 50 minutes and considered 184 clauses contained in the Bill.
After two years of significant consultation and research, the legislation was introduced in early August to enable safe and compassionate voluntary assisted dying in WA.
After two major reports, community consultation events were held in 11 centres across the state this year, with additional online participation.
This was the biggest program of consultation ever undertaken by WA Health.
In May the State Budget provided an extra $41 million for end of life choices and community-based palliative care with a record investment in palliative care of $206.2 million over the next four years.
Premier Mark McGowan said it was a historic moment for WA.
"Today we took a significant step forward to giving Western Australians with a life-limiting or terminal illness the dignity they deserve at the end of their lives," he said.
"I'm pleased the Legislative Assembly considered the legislation in a compassionate and respectful manner."
Health minister Roger Cook said voluntary assisted dying had widespread community support.
"It will provide Western Australians who are at the end of their life and experiencing intolerable suffering with an additional choice," he said.
"Alongside this Bill the McGowan Government is committed to ensuring access to high-quality end-of-life care which is why we have made a record investment of over $200 million in palliative care.
"Introducing this legislation is a complex and challenging task and I'd like to thank my colleagues in Parliament for their hard work and dedication in delivering the passage of this Bill through the lower house."
The legislation will now be debated in the Legislative Council.
Sign up for our newsletter to stay up to date.