Tourism is the backbone of Macau's economy, and much of it geared towards gambling, which was legalised in the 19th century and has since been the linchpin of the economy and an important source of revenue for the government.