This article is more than 2 years old.

June 26, 2015 This article is more than 2 years old.

This story has been corrected.

Today’s Supreme Court ruling makes the United States the 23rd country where same-sex marriage is legal nationwide. (That’s if you count the UK, where it is legal everywhere except Northern Ireland.)

The Dutch parliament legalized gay marriage in the Netherlands back in 2000, but most of the other 21 countries have done so only in the last few years. Ireland in 2015 became the first country to legalize gay marriage through a popular vote.

The list below was compiled by the Pew Research Center and additional research by Quartz. (We’ve broken out the UK’s regions.)

Country — year legalized

Argentina — 2010

Belgium — 2003

Brazil — 2013

Canada — 2005

Denmark — 2012

England (UK) — 2013

Finland — 2015

France — 2013

French Guiana — 2013

Greenland — 2015

Iceland — 2010

Ireland — 2015

Luxembourg — 2014

Mexico — 2015*

The Netherlands — 2000

New Zealand — 2013

Norway — 2009

Portugal — 2010

Scotland (UK) — 2014

South Africa — 2006

Spain — 2005

Sweden — 2009

United States — 2015

Uruguay — 2013

Wales (UK) — 2013

* In Mexico, the Supreme Court has ruled that local laws banning gay marriage are unconstitutional. Though the ruling does not automatically strike down those laws, gay couples can sue for the right, which lower courts are compelled to grant them. It’s a gray area, but advocates consider gay marriage to be legal across the country.

Correction (12:52pm ET): The original version of this story omitted French Guiana, Greenland, and Mexico.