<Table> <Tr> <Th_colspan="2"> The Right Honourable Sir Edmund Barton GCMG, KC </Th> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th_colspan="2"> 1st Prime Minister of Australia Elections: 1901 </Th> </Tr> <Tr> <Td_colspan="2"> In office 1 January 1901--24 September 1903 </Td> </Tr> <Tr> <Th> Monarch </Th> <Td> Victoria Edward VII </Td> </Tr> <Tr> <Th> Governor - General </Th> <Td> Marquess of Linlithgow Baron Tennyson </Td> </Tr> <Tr> <Th> Deputy </Th> <Td> Alfred Deakin </Td> </Tr> <Tr> <Th> Preceded by </Th> <Td> Position Established </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> Alfred Deakin </Td> </Tr> <Tr> <Th_colspan="2"> Justice of the High Court </Th> </Tr> <Tr> <Td_colspan="2"> In office 5 October 1903--7 January 1920 </Td> </Tr> <Tr> <Th> Nominated by </Th> <Td> Alfred Deakin </Td> </Tr> <Tr> <Th> Appointed by </Th> <Td> Baron Tennyson </Td> </Tr> <Tr> <Th> Preceded by </Th> <Td> Position Established </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> Hayden Starke </Td> </Tr> <Tr> <Th_colspan="2"> Minister for External Affairs </Th> </Tr> <Tr> <Td_colspan="2"> In office 1 January 1901--24 September 1903 </Td> </Tr> <Tr> <Th> Prime Minister </Th> <Td> Himself </Td> </Tr> <Tr> <Th> Preceded by </Th> <Td> Position Established </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> Alfred Deakin </Td> </Tr> <Tr> <Th_colspan="2"> Leader of the Protectionist Party </Th> </Tr> <Tr> <Td_colspan="2"> In office 1 January 1901--24 September 1903 </Td> </Tr> <Tr> <Th> Deputy </Th> <Td> Alfred Deakin </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> Alfred Deakin </Td> </Tr> <Tr> <Th_colspan="2"> Speaker of the New South Wales Legislative Assembly </Th> </Tr> <Tr> <Td_colspan="2"> In office 3 January 1883--31 January 1887 </Td> </Tr> <Tr> <Th> Preceded by </Th> <Td> Sir George Wigram Allen </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> James Young </Td> </Tr> <Tr> <Th_colspan="2"> Member of the Australian Parliament for Hunter </Th> </Tr> <Tr> <Td_colspan="2"> In office 30 March 1901--16 December 1903 </Td> </Tr> <Tr> <Th> Preceded by </Th> <Td> Seat Created </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> Frank Liddell </Td> </Tr> <Tr> <Th_colspan="2"> Member of the New South Wales Parliament for Hastings and Macleay </Th> </Tr> <Tr> <Td_colspan="2"> In office 23 November 1898--1 March 1900 </Td> </Tr> <Tr> <Th> Preceded by </Th> <Td> Francis Clarke </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> Francis Clarke </Td> </Tr> <Tr> <Th_colspan="2"> Member of the New South Wales Parliament for East Sydney </Th> </Tr> <Tr> <Td_colspan="2"> In office 11 July 1891--3 August 1894 Serving with William McMillan; George Reid; Varney Parkes </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> District Abolished </Td> </Tr> <Tr> <Td_colspan="2"> In office 28 December 1882--2 March 1887 Serving with George Reid; Sydney Burdekin; John McElhone; George Griffiths; Henry Copeland </Td> </Tr> <Tr> <Th> Preceded by </Th> <Td> Arthur Renwick </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> William McMillan </Td> </Tr> <Tr> <Th_colspan="2"> Member of the New South Wales Parliament for Wellington </Th> </Tr> <Tr> <Td_colspan="2"> In office 14 December 1880--28 December 1882 </Td> </Tr> <Tr> <Th> Preceded by </Th> <Td> John Shepherd </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> David Ferguson </Td> </Tr> <Tr> <Th_colspan="2"> Member of the New South Wales Parliament for University of Sydney </Th> </Tr> <Tr> <Td_colspan="2"> In office 26 August 1879--14 December 1880 </Td> </Tr> <Tr> <Th> Preceded by </Th> <Td> William Windeyer </Td> </Tr> <Tr> <Th> Succeeded by </Th> <Td> District Abolished </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th_colspan="2"> Personal details </Th> </Tr> <Tr> <Th> </Th> <Td> (1849 - 01 - 18) 18 January 1849 Glebe, New South Wales, British Empire </Td> </Tr> <Tr> <Th> </Th> <Td> 7 January 1920 (1920 - 01 - 07) (aged 70) Hydro Majestic Hotel, Medlow Bath, New South Wales, Australia </Td> </Tr> <Tr> <Th> Resting place </Th> <Td> Waverley Cemetery, New South Wales, Australia </Td> </Tr> <Tr> <Th> Political party </Th> <Td> Protectionist (after 1887) </Td> </Tr> <Tr> <Th> Other political affiliations </Th> <Td> None (until 1887) </Td> </Tr> <Tr> <Th> Spouse (s) </Th> <Td> Jane Ross (m . 1877; wid. 1920) </Td> </Tr> <Tr> <Th> Children </Th> <Td> 6 </Td> </Tr> <Tr> <Th> Education </Th> <Td> <Ul> <Li> Fort Street High School </Li> <Li> Sydney Grammar School </Li> </Ul> </Td> </Tr> <Tr> <Th> Alma mater </Th> <Td> University of Sydney </Td> </Tr> <Tr> <Th> Profession </Th> <Td> Trade Unionist Barrister Politician </Td> </Tr> </Table> <Tr> <Th_colspan="2"> The Right Honourable Sir Edmund Barton GCMG, KC </Th> </Tr>

When was the first prime minister of australia elected
find me the text answering this question