 In 1882 he was elected Member of Parliament for Haddington Burghs until the constituency was merged in the Redistribution of Seats Act 1885.In 1885 he was elected MP for Partick which he held until his death at the age of 54 in 1890.When the Liberal split in 1886 over Irish Home Rule, Sellar joined the breakaway Liberal Unionist Party.