Ferguson and fellow advocate Alexander Lockhart argued in their defence .
Jacobite rebels captured from throughout Scotland were taken to stand trial at Carlisle Castle in 1746 .
Ferguson and fellow advocate Alexander Lockhart argued in rebels ' defence .
Jacobite rebels captured from throughout Scotland were taken to stand trial at Carlisle Castle in 1746 .