In 1897, Barton topped the poll of the delegates elected from New South Wales to the Constitutional Convention, which developed a constitution for the proposed federation.
In August 1899 when it became clear that the Labour Party could be manoeuvred into bringing down the Reid Government, Barton resigned as leader of the opposition, as he was unacceptable to Labour, and William Lyne took his place.