Prostitution in New Zealand, brothel-keeping, living off the proceeds of someone else's prostitution, and street solicitation are legal in New Zealand and have been since the Prostitution Reform Act 2003 came into effect. Coercion of sex workers is illegal. The 2003 decriminalisation of brothels, escort agencies and soliciting, and the substitution of a minimal regulatory model, created worldwide interest; New Zealand prostitution laws are now some of the most liberal in the world. Until 2003, indoor prostitution in New Zealand was governed by the Massage Parlours Act 1978, which allowed brothels to operate in the guise of massage parlours. However, the act defined massage parlours as public places, so laws against soliciting in a public place applied to workers in parlours, and they were sometimes raided by police posing as clients. Workers in the parlours were also required to provide their names and addresses to the police. Advertising the sale of sex ("soliciting"), running a brothel, and living off the earnings of prostitution were illegal. Despite the Massage Parlours Act and other laws meant to suppress prostitution, there was considerable toleration of sex work in practice in the last decades of the 20th century. These laws were all changed by the Prostitution Reform Act in June 2003. History Before 2003 The early examples of the exchange of sex for material gain in New Zealand occurred in the early period of contact between indigenous Māori and European and American sailors. Along with food, water, and timber, sex was one of the major commodities exchanged for European goods. The Bay of Islands and in particular the town of Kororareka was notorious for this and brothels proliferated. It is not clear whether all of these exchanges necessarily constituted prostitution in the usual sense of the word. In some cases, the sex may have been part of a wider partnership between a tribe and a ship's crew, akin to a temporary marriage alliance. The amount of choice women had about their participation seems to have varied. Throughout this period there was a severe gender imbalance in the settler population and women were in short supply. In the nineteenth century, prostitution was generally referred to as the "Social Evil". As with other British dependencies, New Zealand inherited both statute and case law from the United Kingdom, for instance the 1824 UK Vagrancy Act was in force until New Zealand passed its own Vagrancy Act (1866–1884).