Answer
Prior to stepping down, Keith O'Brien held the esteemed position of Archbishop of Saint Andrews and Edinburgh, serving as the spiritual leader and principal bishop of the Roman Catholic Church in Scotland. He occupied this significant ecclesiastical role, overseeing the Archdiocese of Saint Andrews and Edinburgh, and providing guidance to the Catholic community in the region.