Intermarriage was initially discouraged by the Tang Dynasty. In 836 Lu Chun was appointed as governor of Canton, and was disgusted to find the Chinese living with foreigners and intermarrying. Lu enforced separation, banned interracial marriages, and made it illegal for foreigners to own property. Lu Chun believed his principles were just and upright. The 836 law specifically banned Chinese from forming relationships with "dark peoples" or "people of colour", which was used to describe foreigners, such as "Iranians, Sogdians, Arabs, Indians, Malays, Sumatrans", among others.