2.48pm Lord Campbell of Pittenweem made the solemn affirmation, and signed an undertaking to abide by the Code of Conduct.