Sir Lionel Smith, 1st Baronet - British diplomat, colonial administrator, and soldier (1778-1842)