A third group, not of different ethnic origin from the Japanese mainstream but unquestionably inferior in status, are the burakumin ( village dwellers,  a euphemism for their old caste name meaning  much filth  which was officially abolished at the end of the 19th century).
The third group (barukumin) are village dwellers.