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.