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
Crime figures show a sixfold increase in people reporting a rape by someone they met on a dating app or website between 2009 and 2014.
The launch was made in defiance of United Nations sanctions barring North Korea from using ballistic missile technology.
David Cameron has raised concerns after figures showed 100 babies spent time living behind bars last year.