The importation of slaves was made illegal in 1792 .
The importation of slaves was made illegal in 1792 and Chinese workers were brought to work in the farms .