The first same-sex church wedding in the UK has taken place in Edinburgh.

Peter Matthews and Alistair Dinnie made history when they were married at St John’s Church, run by the Scottish Episcopal Church (SEC), The Times Scotland reported.

In June, the SEC voted to amend canon law and allow same-sex couples to be married in church during the church’s General Synod in Edinburgh.

The move made it the first branch of the Anglican faith in the UK to allow same-sex marriage and was welcomed by equal rights campaigners.

The wedding is said to have taken place earlier this month with other same-sex weddings also held in SEC churches in Glasgow and Moray since.

The Rev Markus Dunzkofer, the rector at St John’s, told The Times: “I have blessed marriages in other Anglican provinces and always had to stop short of the vows.

“It felt like something was cut off, like something wasn’t right.

Read more on Premier