On August 21.1770 ; James Cook formally claims eastern Australia for Great Britain, naming it New South Wales.