(STV) — Scotland has followed England and Wales in changing the law to allow same-sex couples to marry.

The Marriage and Civil Partnership (Scotland) Bill passed its third stage in a free vote at the Scottish Parliament as MSPs voted 105-18 in favour.

The vote means Northern Ireland is now the only country in the UK that does not permit gay people to marry.

The issue had polarised public opinion between supporters who championed it as a move towards equality and opponents who raised concerns about the impact on religious freedom.

Note: Read our discussion guidelines before commenting.