He helped to draft the proposed Commonwealth constitution and went to England in 1900 (accompanied by Alfred Deakin) to see the bill through Parliament. He resigned as Prime Minister in 1903 to become a senior judge in the High Court of Australia, serving until 1920.