He renovated the abandoned city of Hariphunchai (present-day Lamphun) and was promoted to first governor of Lumphun (in Thai: เจ้านครลำพูนองค์ที่ 1). When his older brother, Kawila, died, Khamphan received the title "Uparaja of Chiang Mai" (in Thai: พระยาอุปราชเมืองนครเชียงใหม่) and later became The "Ruler of Chiang Mai" (in Thai: เจ้านครเชียงใหม่). He ruled Chiang Mai for three years and received the title "Governor of two Cities".
