Free settlers and former prisoners established six colonies: New South Wales (1786), Tasmania (then Van Diemen's Land) (1825), Western Australia (1829), South Australia (1834), Victoria (1851), and Queensland (1859). Various gold rushes attracted settlers, as did the mining of other minerals. Sheep farming and grain soon grew into important economic enterprises. The six colonies became states and in 1901 federated into the Commonwealth of Australia with a constitution that incorporated British parliamentary and U.S. federal traditions. Australia became known for its liberal legislation: free compulsory education, protected trade unionism with industrial conciliation and arbitration, the secret ballot, women's suffrage, maternity allowances, and sickness and old-age pensions.