Robert Smith was the last public hanging in Scotland and the second-to-last public hanging in the United Kingdom, only succeeded by Michael Barrett. He was convicted of the murder of a girl. He was hanged May 12, 1868.