In his second command, , he carried supplies and coinage to Australia, but with a covert mission to assess other nations' interest in the region and explore opportunities for British settlements. He is chiefly remembered for his exploration of the Swan River, followed by his eventual success in lobbying the British Government to establish a settlement there. On 30 December 1828, he was made Lieutenant-Governor of the colony-to-be. He formally founded the city of Perth and the port of Fremantle and oversaw the development of the surrounding area and on 4 March 1831 he was confirmed as Governor and Commander-in-Chief of the new territory, Western Australia, in which post he remained until in 1838 he resumed his naval career.