From the late 19th century, the Colonial/State and later federal governments of Australia restricted all permanent immigration to the country by non-Europeans. These policies became known as the "White Australia policy", which was consolidated and enabled by the Immigration Restriction Act 1901, but was never universally applied. Immigration inspectors were empowered to ask immigrants to take dictation from any European language as a test for admittance, a test used in practice to exclude people from Asia, Africa, and some European and South American countries, depending on the political climate.