 He was re-elected at the 1906 general election, but failed to win election in the January 1910 general election, where he contested Edinburgh West.He was elected for Edinburgh South at a by-election in April, and won re-election in the December general election.He was appointed as the Parliamentary Private Secretary to H. H. Asquith, the Prime Minister, in February 1911, and stood down from the seat in May 1917.