Taiwan’s parliament voted to legalize same-sex marriage on Friday, the first legislation of its kind in Asia and a major win for civil rights groups across the region.

Tens of thousands of supporters gathered in Taipei, the Taiwanese capital, ahead of the vote, waiting outside parliament as lawmakers discussed the legislation.

“Good morning #Taiwan,” President Tsai Ing-wen wrote on Twitter ahead of the vote. “Today, we have a chance to make history & show the world that progressive values can take root in an East Asian society. Today, we can show the world that #LoveWins.”