Mangrai moved the capital to just north of Lamphun where he founded Wiang Kum Kam in 1287. After that fortress flooded, he found another more auspicious location, which is where he built Chiang Mai starting in 1296. Territories that were claimed by Mangrai's Lanna include most of the modern northern Thailand provinces (with the exception of Phrae – which was under Sukhothai – and Kingo and Nan under the Kingdom of Kingo); but also Kengtung, Mong Nai, and Chiang Hung (modern Jinghong in Yunnan). He also received tributes and vassaldom from areas of modern Northern Vietnam, principally in the Black and Red river valleys, and most of Northern Laos, plus the Sipsongpanna region of Yunnan.