The Scottish Labour Party (SLP), also known as the Scottish Parliamentary Labour Party, was formed by Robert Bontine Cunninghame Graham, the first socialist MP in the Parliament of the United Kingdom, who later went on to become the first president of the Scottish National Party, and Keir Hardie, who later became the first leader of the Independent Labour Party and the Labour Party.