Thailand’s senate voted overwhelmingly on Tuesday to approve a marriage equality bill, clearing the last legislative hurdle for the country to become the first in south-east Asia to enact such a law.

The bill passed its final reading with the approval of 130 of the 152 members of the Senate in attendance, with four voting against it and 18 abstaining.

The bill now needs the pro forma endorsement of King Maha Vajiralongkorn, followed by its publication in the Government Gazette, which will set a date within 120 days when it becomes effective.

Thailand will become the third place in Asia, after Taiwan and Nepal, to allow same-sex marriage.

Thailand Marriage Equality
Participants hold posters celebrating equality in marriage during a Pride Parade in Bangkok in June (AP Photo/Sakchai Lalit, File)

The marriage equality bill, which grants full legal, financial and medical rights for marriage partners of any gender, sailed through the House of Representatives right before the previous parliamentary session concluded in April.

The bill amends the Civil and Commercial Code to change the words “men and women” and “husband and wife” to “individuals” and “marriage partners”.

Thailand has a reputation for acceptance and inclusivity but has struggled for decades to pass a marriage equality law.

Thai society largely holds conservative values, and members of the LGBT+ community say they face discrimination in everyday life.

The government and state agencies are also historically conservative, and advocates for gender equality have had a hard time pushing lawmakers and civil servants to accept change.