The Yamato people (大和民族, Yamato minzoku, also in older literature "Yamato race") and Wajin (和人, Wajin, literally "Wa people") are an East Asian ethnic group and nation native to the Japanese archipelago. The term came to be used around the late 19th century to distinguish the settlers of mainland Japan from minority ethnic groups who have settled the peripheral areas of Japan, such as the Ainu, Ryukyuans, Nivkh, Oroks, as well as Koreans, Taiwanese, and Taiwanese aborigines who were incorporated into the Empire of Japan in the early 20th century. The Yamato clan incorporated native Japanese as well as Korean migrants. Clan leaders also elevated their own belief system that featured ancestor worship into a national religion known as Shinto. The name was applied to the Imperial House of Japan or "Yamato Court" that existed in Japan in the 4th century, and was originally the name of the region where the Yamato people first settled in Yamato Province (modern-day Nara Prefecture). Generations of Japanese historians, linguists, and archeologists have debated whether the word is related to the earlier Yamatai (邪馬台). The Yamato clan set up Japan's first and only dynasty.