Norway has become only one of six countries in the world to offer gays and lesbians full marriage rights.
The Stortinget, the European nation’s parliament, approved a bill on Wednesday which will allow same-sex couples to marry.
At the moment of the legislation being passed those in the gallery applauded and burst out in cheers.
The new law was opposed by the country’s Christian Democrats and Progress Party. It nevertheless passed overwhelmingly with 84 members of parliament voting for the bill while 41 voted against.
The bill effectively changes the definition of marriage in the law from being between a man and woman to gender neutral partners.
Same-sex partnerships were previously recognised in Norway as civil unions, but LGBT activists argued that this was not sufficient and lobbied for full marriage rights.
Those who have registered their relationships under the earlier law will be able to convert their civil unions to full marriage.
The new legislation will also allow churches, including the Church of Norway, to bless same-sex marriages should they wish to do so. It also facilitates same-sex couple adoption.
Same-sex marriage is also legal in South Africa, Canada, Spain, Belgium and the Netherlands. A smattering of other countries and territories, such as the UK, also allow for civil-unions or legally recognised partnerships between same-sex couples.