The Scotsman who aided Lord Wellington