Wiang Kum Kam is an ancient city ( wiang "walled city") located in Saraphi District in the northern region of Thailand, around 3 kilometers south of the southeastern corner of Chiang Mai's city centre.