The Attorney General tasked with drafting the legislation was Alfred Deakin.
The legislation found strong support in the new Australian Parliament, with arguments ranging from economic protection to outright racism.