Who legalized gay marriage in the uk Scotland passed its own law, the Marriage and Civil Partnership (Scotland) Act , and on December 31, , the first same-sex weddings took place. The nation of Northern Ireland was the last part of the UK to make same-sex marriage legal. On January 13, , after a long political and legal fight, it finally became law.