Scott Rennie, the gay minister whose appointment almost caused a schism in the Church of Scotland, enjoyed a standing ovation at his last service at Brechin Cathedral.

He will now take up his new post as minister Queen’s Cross Church in Aberdeen.

According to the Press and Journal, more than 300 people flocked to hear his final service on compassion, love and judgement.

He told the congregation: “I’m happy and sad. It’s wonderful to be here to worship with friends.

“A big thank you to you all. I’ve been blessed with a very loving congregation.

“It has never been hard work to be your minister – it has always been a joy and a privilege.”

Rennie will be sworn in at his new post on Sunday. He plans to live in the manse with his partner David.

More than 80 per cent of his new congregation voted to have him as their minister but some members of the clergy complained about the appointment of an openly gay man.

However, his appointment was approved 326 to 267 by the General Assembly in May.