In a statement issued by the Scottish Catholic Church, Cardinal Keith O'Brien said:
I have valued the opportunity of serving the people of Scotland and overseas in various ways since becoming a priest.
Looking back over my years of ministry: For any good I have been able to do, I thank God. For any failures, I apologise to all whom I have offended.
More top news
Vaccination programme "temporarily suspended" after several children reported dead, but World Health Organisation says sabotage "unlikely".
Nothing could distract Japanese flutist Yukie Ota from her performance - not even a butterfly which decided to land on her face.
Alexander Hennessy captured the moment an armed robber pointed a gun at him as he cycled through Buenos Aires on his helmet-mounted GoPro.