In April 2001 the Netherlands became the first country in the world to allow gay and lesbian couples to marry in a civil ceremony. (Shutterstock/File)
Gay marriage, authorized on Tuesday by Austria's top court by 2019 at the latest, is now recognized in more than 20 countries, of which 16 are in Europe.
Here is a breakdown.
In April 2001 the Netherlands became the first country in the world to allow gay and lesbian couples to marry in a civil ceremony.
Fifteen European countries have followed: Belgium, Britain (but not Northern Ireland), Denmark, Finland, France, Germany, Iceland, Ireland, Luxembourg, Malta, Norway, Portugal, Spain, Sweden, and finally Austria.
Some European countries only allow same-sex couples to enter into civil partnerships including Croatia, Cyprus, the Czech Republic, Greece, Hungary, Italy and Switzerland.
In October 2014, Estonia became the first former Soviet republic to authorize this type of civil union.
Many eastern European countries -- including Bulgaria, Latvia, Lithuania, Poland, Romania and Slovakia -- deny homosexuals the right to marry or enter into unions.
In December 2015, Slovenians rejected in a referendum a proposal by their parliament to legalize gay marriage.
About 15 western European countries allow same-sex couples to adopt children, whether within marriage or civil partnerships. They include Belgium, Britain, Denmark, France, Germany, the Netherlands, Spain and Sweden.
Finland and Slovenia allow gay people to adopt their partner's children.
Progress in the Americas
Canada led the way in North America, authorizing same-sex marriage and adoptions in June 2005.
In the United States, a Supreme Court decision in June 2015 legalized gay marriage nationwide, at a time when it was illegal in 14 states.
Mexico's federal capital was the pioneer in Latin America, authorizing civil unions in 2007 and marriages in 2009 as well as adoption.
Same-sex marriages and adoptions are also legal in Argentina, Brazil, Colombia and Uruguay.
Chile's socialist President Michelle Bachelet in August sent to congress a bill to authorize gay marriages and adoptions, after having legalized same-sex civil unions in 2015.
In Haiti, the Senate voted that same month to ban gay marriage.
- Rare in Africa, Asia, Middle East -
On the African continent, where around 30 countries ban homosexuality, gays can only legally marry and adopt children in South Africa.
In the Middle East, Israel leads in terms of respect for homosexual rights, recognizing gay marriages performed elsewhere although such unions are not allowed in the country itself. Gay couples can adopt children.
In the Asia-Pacific region, New Zealand passed a law in April 2013 legalizing gay marriage and adoptions.
Australia is set to follow with a same-sex marriage bill expected to comfortably pass through the lower house before the end of the year after the upper house in November overwhelmingly voted in its favor.
Taiwan is set to legalize same-sex unions after its highest court in May ordered parliament to amend relevant laws within two years.