Same-sex couples will be able to marry in some churches in Scotland after religious authorities on Thursday agreed to change texts stating marriage is between a man and a woman, the first such move for a major Christian church in Britain.

At the general synod of the Scottish Episcopal Church in Edinburgh, over two-thirds of each house of bishops, clergy and laity voted in favor of the change.

Britain legalized same-sex marriage in 2014 but no major Christian church had so far allowed same-sex weddings.