Lawmakers in Thailand’s lower house of Parliament have overwhelmingly approved a marriage equality bill hat would make the country the first in Southeast Asia to legalize equal rights for marriage partners of any gender. The bill passed its final reading with the approval of 400 of the 415 members of the House of Representatives who were in attendance, with 10 voting against it, two abstaining and three not voting.

The bill amends the Civil and Commercial Code to change the words “men and women” and “husband and wife” to “individuals” and “marriage partners.” It would open up access to full legal, financial and medical rights for LGBTQ+ couples.

The bill now goes to the Senate, which rarely rejects any legislation that passes the lower house, and then to the king for royal endorsement. This would make Thailand the first country or region in Southeast Asia to pass such a law and the third in Asia, after Taiwan and Nepal.