From the 1770s to the 1840s, North Americans settled in Australia primarily as demobilised British soldiers and sailors, as convicts — a number of United States citizens were arrested at sea for maritime offences, tried, and transported — and as whalers, sealers or itinerants. Many of these settlers moved on to New Zealand for a time, and often returned to New South Wales. African Americans had a noted presence in the earliest British outposts in Australia, usually after a period of service in the British Navy.