A foreign settlement was a special area in a treaty port, designated by the Japanese government in the second half of the nineteenth century, to allow foreigners to live and work.